diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 098bfab7..83f33980 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -32,7 +32,7 @@ jobs: # - run: dart tool/generate-code.dart - name: Re-generate the translations - run: ./scripts/renegerate-translations.sh + run: ./scripts/regenerate-translations.sh - name: Publish run: flutter pub publish --force diff --git a/doc/translation.md b/doc/translation.md index 990fffe3..5bacbd07 100644 --- a/doc/translation.md +++ b/doc/translation.md @@ -55,7 +55,7 @@ flutter gen-l10n or: ``` -./scripts/renegerate-translations.sh +./scripts/regenerate-translations.sh ``` diff --git a/scripts/renegerate-translations.sh b/scripts/regenerate-translations.sh similarity index 69% rename from scripts/renegerate-translations.sh rename to scripts/regenerate-translations.sh index 999a8dbf..1f7c26e5 100755 --- a/scripts/renegerate-translations.sh +++ b/scripts/regenerate-translations.sh @@ -1,8 +1,8 @@ #!/bin/bash # Important: make sure to run the script in the root folder of the repo: -# ./scripts/renegerate-translations.sh -# otherwise the script could delete the wrong folder +# ./scripts/regenerate-translations.sh +# otherwise the script could delete the wrong folder in rare cases echo "" @@ -20,8 +20,8 @@ echo "" echo "" echo "Apply dart fixes to the newly generated files" -dart fix --apply +dart fix --apply ./lib/src/l10n/generated echo "" echo "Formate the newly generated dart files" -dart format . \ No newline at end of file +dart format ./lib/src/l10n/generated \ No newline at end of file