diff --git a/.github/workflows/autotag.yml b/.github/workflows/autotag.yml index 7c9f279..a64330b 100644 --- a/.github/workflows/autotag.yml +++ b/.github/workflows/autotag.yml @@ -14,7 +14,7 @@ jobs: - name: Get version run: | version=$(git log --pretty=oneline -1 | grep -oP 'release: \K[0-9.]+') - if [ -n "$version" ]; then echo VERSION=$version >> $GITHUB_ENV; fi + echo "VERSION=$version" >> $GITHUB_ENV # create & push tag - name: Create & push tag if: ${{ env.VERSION }} != ''