From a69b373d14b31af27da3fb3d46a6164ab342bcb6 Mon Sep 17 00:00:00 2001 From: huyz Date: Sat, 25 Feb 2023 10:56:09 -0800 Subject: [PATCH] fix(gha): release: fix tag parsing --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 074bd23..c56c094 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,7 +39,7 @@ jobs: # run: ansible-playbook -i 'localhost,' galaxy-deploy.yml -e "github_tag=${{ github.ref }}" - name: Get the version name from the tags - run: echo "RELEASE_VERSION=${GITHUB_REF/refs\/tags\//}" >> "$GITHUB_ENV" + run: echo "RELEASE_VERSION=${GITHUB_REF/refs\/tags\/v/}" >> "$GITHUB_ENV" - name: Build collection and publish to Galaxy uses: artis3n/ansible_galaxy_collection@v2