Skip to content

Commit 26ab258

Browse files
authored
CI: update release workflows (#27)
2 parents 426e1c8 + 49448a3 commit 26ab258

File tree

2 files changed

+7
-60
lines changed

2 files changed

+7
-60
lines changed

.github/workflows/packager.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,6 @@ jobs:
102102
if: startsWith(github.ref, 'refs/tags/')
103103

104104
steps:
105-
- name: Get tag name as version
106-
id: get_version
107-
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
108-
109105
- name: Checkout
110106
uses: actions/checkout@v3
111107

@@ -135,7 +131,7 @@ jobs:
135131
# git add full project
136132
git add ${{ env.PROJECT_FOLDER }}/
137133
138-
- name: Get current changelog for ${VERSION}
134+
- name: Get current changelog
139135
run: qgis-plugin-ci changelog ${GITHUB_REF/refs\/tags\//} >> release.md
140136

141137
- name: Create GitHub Release
@@ -154,3 +150,9 @@ jobs:
154150
--github-token ${{ secrets.GITHUB_TOKEN }}
155151
--osgeo-username ${{ secrets.OSGEO_USER }}
156152
--osgeo-password ${{ secrets.OSGEO_PASSWORD }}
153+
154+
- uses: actions/upload-artifact@v3
155+
with:
156+
name: ${{ env.PROJECT_FOLDER }}-${GITHUB_REF/refs\/tags\//}
157+
path: ${{ env.PROJECT_FOLDER }}.*.zip
158+
if-no-files-found: error

.github/workflows/releaser.yml

Lines changed: 0 additions & 55 deletions
This file was deleted.

0 commit comments

Comments
 (0)