Skip to content

Commit

Permalink
[cd] Fix not realizing we already released
Browse files Browse the repository at this point in the history
  • Loading branch information
mxcl committed Jun 10, 2022
1 parent 9a45b06 commit aad6723
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ jobs:
- id: rev-parse
name: did we already publish this version?
run: |
# fetch tags since actions/checkout is a shallow checkout
git fetch --prune --unshallow --tags
if git show-ref --tags v${{ steps.extract.outputs.version }} --quiet; then
echo "::set-output name=result::cancel"
else
Expand Down

0 comments on commit aad6723

Please sign in to comment.