diff --git a/.github/workflows/autotag.yml b/.github/workflows/autotag.yml index 422accd..7c9f279 100644 --- a/.github/workflows/autotag.yml +++ b/.github/workflows/autotag.yml @@ -14,11 +14,10 @@ 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 + if [ -n "$version" ]; then echo VERSION=$version >> $GITHUB_ENV; fi # create & push tag - name: Create & push tag if: ${{ env.VERSION }} != '' run: | git tag v$VERSION git push origin v$VERSION - \ No newline at end of file