Skip to content

Commit

Permalink
add creation of mo files to github action
Browse files Browse the repository at this point in the history
  • Loading branch information
drunsinn committed Jan 27, 2021
1 parent 15ea906 commit 1a09b96
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,9 @@ jobs:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
msgfmt -o ./locales/en/LC_MESSAGES/error_text.mo ./locales/en/LC_MESSAGES/error_text.po
msgfmt -o ./locales/en/LC_MESSAGES/message_text.mo ./locales/en/LC_MESSAGES/message_text.po
msgfmt -o ./locales/de/LC_MESSAGES/error_text.mo ./locales/de/LC_MESSAGES/error_text.po
msgfmt -o ./locales/de/LC_MESSAGES/message_text.mo ./locales/de/LC_MESSAGES/message_text.po
python setup.py sdist bdist_wheel
twine upload dist/*

0 comments on commit 1a09b96

Please sign in to comment.