Skip to content

Commit a485d1a

Browse files
authored
Update release.yaml
1 parent 832e594 commit a485d1a

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/release.yaml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ on:
1414
jobs:
1515

1616
release:
17-
runs-on: ubuntu-22.04
18-
env:
19-
GITHUB_REF: ${{ github.ref }}
17+
runs-on: ubuntu-latest
2018
if: ${{ github.event_name == 'release' }}
2119
steps:
2220
- name: Checkout
@@ -33,16 +31,15 @@ jobs:
3331
run: pip3 install qgis-plugin-ci
3432
- name: Release
3533
run: |
36-
VERSION=$(echo "${GITHUB_REF_NAME}" | cut -d+ -f1)
37-
qgis-plugin-ci -v release ${VERSION} \
34+
qgis-plugin-ci -v release ${GITHUB_REF/refs\/tags\//} \
3835
--release-tag ${GITHUB_REF_NAME} \
3936
--transifex-token ${{ secrets.TX_TOKEN }} \
4037
--github-token ${{ secrets.GITHUB_TOKEN }} \
4138
--osgeo-username ${{ secrets.OSGEO_USERNAME }} --osgeo-password ${{ secrets.OSGEO_PASSWORD }} \
4239
--allow-uncommitted-changes
4340
4441
translations:
45-
runs-on: ubuntu-22.04
42+
runs-on: ubuntu-latest
4643
if: ${{ github.ref == 'refs/heads/master' && github.event_name == 'push' }}
4744
steps:
4845
- name: Checkout
@@ -56,7 +53,7 @@ jobs:
5653
sudo apt-get install qtbase5-dev qttools5-dev-tools
5754
5855
- name: Install qgis-plugin-ci
59-
run: pip3 install qgis-plugin-ci==2.7.*
56+
run: pip3 install qgis-plugin-ci
6057

6158
- name: 🌍 Push translations
6259
run: qgis-plugin-ci push-translation ${{ secrets.TX_TOKEN }}

0 commit comments

Comments
 (0)