Skip to content

Commit

Permalink
Added output
Browse files Browse the repository at this point in the history
  • Loading branch information
dchristl committed Jan 17, 2024
1 parent 40e200b commit 8c93731
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
if: github.ref == 'refs/heads/main'
run: |
TAG="v${{ env.VERSION }}"
git tag
git rev-parse -q --verify "refs/tags/${TAG}"
if git rev-parse -q --verify "refs/tags/${TAG}" > /dev/null; then
echo "Tag ${TAG} already exists"
exit 1
Expand Down

0 comments on commit 8c93731

Please sign in to comment.