Skip to content

Commit

Permalink
release test
Browse files Browse the repository at this point in the history
  • Loading branch information
xcaeag committed Jan 30, 2024
1 parent e26d643 commit b6de62b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ jobs:
# echo "name=myversion::$myversion" >> $GITHUB_OUTPUT
# - run: echo "${{steps.get-myversion.outputs.myversion}}"
- run: echo "$myversion"
- run: echo ${{ env.myversion }}

- name: Package the version
run: |
qgis-plugin-ci package $myversion
qgis-plugin-ci package ${{ env.myversion }}
- name : Get current changelog for ${{ github.ref }}
run: qgis-plugin-ci changelog $myversion >> release.md
run: qgis-plugin-ci changelog ${{ env.myversion }} >> release.md

- name: Create Release
id: create_release
Expand All @@ -61,14 +61,14 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ${{ env.PROJECT_FOLDER }}."$myversion".zip
asset_name: ${{ env.PROJECT_FOLDER }}-"$myversion".zip
asset_path: ${{ env.PROJECT_FOLDER }}.${{ env.myversion }}.zip
asset_name: ${{ env.PROJECT_FOLDER }}-${{ env.myversion }}.zip
asset_content_type: application/zip

- name: Deploy plugin to QGIS official repository and as release asset
run: >-
qgis-plugin-ci
release v"$myversion"
release v${{ env.myversion }}
--github-token ${{ secrets.GITHUB_TOKEN }}
--osgeo-username ${{ secrets.OSGEO_USER }}
--osgeo-password ${{ secrets.OSGEO_PASSWORD }}

0 comments on commit b6de62b

Please sign in to comment.