diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8e24bd9..31c5069 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -53,7 +53,7 @@ jobs: fi - name: Set default version if no tag - if: github.ref != 'refs/tags/*' + if: ${{ !startsWith(github.ref, 'refs/tags/') }} run: | echo "MAJOR_VERSION=0" >> $GITHUB_ENV echo "MINOR_VERSION=0" >> $GITHUB_ENV