Skip to content

Commit

Permalink
Merge pull request #8 from jjw24/patch-2
Browse files Browse the repository at this point in the history
add compiling of translation files
  • Loading branch information
deefrawley authored Jun 24, 2021
2 parents 85a9911 + ad2335c commit cb0733c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/Publish Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,14 @@ jobs:
- run: echo ${{steps.version.outputs.prop}}
- name: Install dependencies
run: |
sudo apt-get install -y gettext
python -m pip install --upgrade pip
pip install -r ./requirements.txt -t ./lib
msgfmt ./plugin/translations/en/LC_MESSAGES/messages.po -o ./plugin/translations/en/LC_MESSAGES/messages.mo
msgfmt ./plugin/translations/zh/LC_MESSAGES/messages.po -o ./plugin/translations/zh/LC_MESSAGES/messages.mo
zip -r Flow.Launcher.Plugin.Currency.zip . -x '*.git*'
- name: Publish
if: success() && github.ref == 'refs/heads/main'
uses: softprops/action-gh-release@v1
with:
files: 'Flow.Launcher.Plugin.Currency.zip'
Expand Down
2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Name": "Currency Converter",
"Description": "Currency converter using the euro and rates at https://www.ecb.europa.eu/",
"Author": "deefrawley",
"Version": "1.2.0",
"Version": "1.2.1",
"Language": "python",
"Website": "https://github.com/deefrawley/Flow.Launcher.Plugin.Currency",
"IcoPath": "assets/favicon.ico",
Expand Down

0 comments on commit cb0733c

Please sign in to comment.