Skip to content

Commit

Permalink
ci(release.yml): fetch tags to fix canaryExists logic
Browse files Browse the repository at this point in the history
Signed-off-by: Vaughn Dice <[email protected]>
  • Loading branch information
vdice committed Aug 17, 2023
1 parent df8c9d6 commit 4e7d558
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
id: canaryExists
shell: bash
run: |
git fetch --prune --unshallow --tags
git show-ref --tags --verify --quiet -- "refs/tags/canary" && \
echo "canaryExists=0" >> "$GITHUB_OUTPUT" || \
echo "canaryExists=1" >> "$GITHUB_OUTPUT"
Expand Down

0 comments on commit 4e7d558

Please sign in to comment.