diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fd80e1f3..0a2bcfba 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,7 +28,7 @@ jobs: id: versions run: | TAG=$(git describe --tags) - if [ "${{ github.ref }}" = "refs/heads/$TAG" ]; then + if [ "${{ github.ref }}" = "refs/tags/$TAG" ]; then echo "is_release=true" >> $GITHUB_OUTPUT if [[ $TAG =~ ^v[0-9]+\.[0-9]+\.[0-9]$ ]]; then echo "is_prerelease=false" >> $GITHUB_OUTPUT