Skip to content

Commit

Permalink
fix: include .qm file to release zip generated by workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Pauliina Paasivirta committed Sep 11, 2023
1 parent 701c0d0 commit 2c7569f
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,21 @@ jobs:
pip install . --no-deps
- run: |
qgis-plugin-dev-tools build
# Copy .qm translation files to the dist folder
- run: |
cp -r src/quality_result_gui_plugin/resources/i18n dist/
# Zip the dist folder (including .qm files)
- run: |
cd dist
zip -r tattaraa.zip *
# no qgis repo publish yet for the dummy plugin gui
# - run: |
# qgis-plugin-dev-tools publish dist/*.zip
# env:
# QPDT_PUBLISH_USERNAME: ${{ secrets.QGIS_REPO_USERNAME }}
# QPDT_PUBLISH_PASSWORD: ${{ secrets.QGIS_REPO_PASSWORD }}
- uses: svenstaro/[email protected]
# Upload the zip file
- uses: actions/upload-artifact@v2
with:
file: dist/*
file_glob: true
name: tattaraa
path: dist/tattaraa.zip

0 comments on commit 2c7569f

Please sign in to comment.