File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ concurrency:
66
77on :
88 push :
9+ tags :
10+ - ' *'
911 branches :
1012 - main
1113 pull_request :
@@ -50,14 +52,27 @@ jobs:
5052
5153
5254 - name : Package
55+ if : ${{ ! startsWith(github.ref, 'refs/tags/') }}
5356 run : |
5457 VERSION=0.0.0
5558 qgis-plugin-ci -v package ${VERSION} \
5659 --allow-uncommitted-changes \
5760 --asset-path oqtopus/libs \
5861
5962 - uses : actions/upload-artifact@v4
63+ if : ${{ ! startsWith(github.ref, 'refs/tags/') }}
6064 with :
6165 name : oqtopus_dev
6266 path : oqtopus.0.0.0.zip
6367 if-no-files-found : error
68+
69+ - name : Release
70+ if : startsWith(github.ref, 'refs/tags/')
71+ run : |
72+ VERSION=${{ github.ref_name }}
73+ qgis-plugin-ci release ${VERSION} \
74+ --allow-uncommitted-changes \
75+ --asset-path oqtopus/libs \
76+ --github-token ${{ secrets.GITHUB_TOKEN }} \
77+ --osgeo-username ${{ secrets.OSGEO_PLUGIN_USERNAME }} \
78+ --osgeo-password ${{ secrets.OSGEO_PLUGIN_PASSWORD }}
You can’t perform that action at this time.
0 commit comments