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