diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 864fb3e67..3cbdc028f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: - name: Fetch Tag id: fetchtag run: | - # git fetch -f --tags # actions/checkout@v3 lacks tag annotation + git fetch -f --tags # Fix actions/checkout messing up annotation of the fetched tag: actions/checkout#290 echo "ISRELEASETAG=$(test tag == $(git cat-file -t $GITHUB_REF_NAME) && echo true || echo false)" >> "$GITHUB_OUTPUT" echo "ISPRERELEASE=$(test tag != $(git cat-file -t $GITHUB_REF_NAME) && echo true || echo false)" >> "$GITHUB_OUTPUT" misc/version.sh