Skip to content

Commit

Permalink
CI: update release workflows (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed Apr 20, 2023
2 parents 426e1c8 + 49448a3 commit 26ab258
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 60 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/packager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,6 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')

steps:
- name: Get tag name as version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}

- name: Checkout
uses: actions/checkout@v3

Expand Down Expand Up @@ -135,7 +131,7 @@ jobs:
# git add full project
git add ${{ env.PROJECT_FOLDER }}/
- name: Get current changelog for ${VERSION}
- name: Get current changelog
run: qgis-plugin-ci changelog ${GITHUB_REF/refs\/tags\//} >> release.md

- name: Create GitHub Release
Expand All @@ -154,3 +150,9 @@ jobs:
--github-token ${{ secrets.GITHUB_TOKEN }}
--osgeo-username ${{ secrets.OSGEO_USER }}
--osgeo-password ${{ secrets.OSGEO_PASSWORD }}
- uses: actions/upload-artifact@v3
with:
name: ${{ env.PROJECT_FOLDER }}-${GITHUB_REF/refs\/tags\//}
path: ${{ env.PROJECT_FOLDER }}.*.zip
if-no-files-found: error
55 changes: 0 additions & 55 deletions .github/workflows/releaser.yml

This file was deleted.

0 comments on commit 26ab258

Please sign in to comment.