Skip to content

Commit

Permalink
GITHUB: workflows/release.yml: Fix actions/checkout messing up annota…
Browse files Browse the repository at this point in the history
…tion of the fetched tag: actions/checkout#290

Signed-off-by: Tim Janik <timj@gnu.org>
  • Loading branch information
tim-janik committed Sep 6, 2023
1 parent c705036 commit ee0ee7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ee0ee7f

Please sign in to comment.