1 parent 6ed6753 commit cadd606Copy full SHA for cadd606
1 file changed
.github/workflows/sync-check.yml
@@ -35,7 +35,7 @@ jobs:
35
36
- name: Frische POT-Dateien bauen
37
run: |
38
- cd cpython-src/Doc
+ cd cpython-src/doc
39
PATH="./venv/bin:$PATH" make gettext
40
41
- name: powrap installieren (für einheitliche Zeilenumbrüche)
@@ -48,14 +48,17 @@ jobs:
48
po="${rel%.pot}.po"
49
if [ -f "$po" ]; then
50
msgmerge --quiet --update --backup=none "$po" "$pot"
51
- powrap "$po"
+ else
52
+ mkdir -p "$(dirname "$po")"
53
+ msginit --no-translator --locale=de --input="$pot" --output-file="$po"
54
fi
55
+ powrap "$po"
56
done
57
58
- name: Prüfen, ob sich etwas geändert hat
59
id: check
60
- if git diff --quiet; then
61
+ if [ -z "$(git status --porcelain)" ]; then
62
echo "changed=false" >> "$GITHUB_OUTPUT"
63
else
64
echo "changed=true" >> "$GITHUB_OUTPUT"
0 commit comments