From de6eb6f4f862025b5ef58c97b583b2f18d8b067c Mon Sep 17 00:00:00 2001 From: Ivan Ivanov Date: Wed, 27 Apr 2022 09:59:52 +0300 Subject: [PATCH] Remove the release version parameter and cleanup duplicated args For whatever reason we did not see the args were duplicated. Also, releasing with release version without the leading `v` was causing the plugin version not to be easily accessible on QGIS plugins repo. --- .github/workflows/continuous_integration.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/continuous_integration.yml b/.github/workflows/continuous_integration.yml index d15262b3..e83b2b71 100644 --- a/.github/workflows/continuous_integration.yml +++ b/.github/workflows/continuous_integration.yml @@ -91,7 +91,7 @@ jobs: sudo pip install qgis-plugin-ci - name: Release run: | - RELEASE_VERSION=${GITHUB_REF/refs\/tags\/v/} + RELEASE_VERSION=${GITHUB_REF##*/} RELEASE_TAG=${GITHUB_REF##*/} qgis-plugin-ci release ${RELEASE_VERSION} \ --release-tag ${RELEASE_TAG} \ @@ -99,11 +99,6 @@ jobs: --github-token ${GITHUB_TOKEN} \ --osgeo-username ${OSGEO_USERNAME} \ --osgeo-password ${OSGEO_PASSWORD} - --release-tag ${RELEASE_TAG} \ - --transifex-token ${TX_TOKEN} \ - --github-token ${GITHUB_TOKEN} \ - --osgeo-username ${OSGEO_USERNAME} \ - --osgeo-password ${OSGEO_PASSWORD} package: runs-on: ubuntu-20.04