Skip to content

Commit

Permalink
Fixing release process
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomazPom committed Sep 9, 2024
1 parent cf9b47d commit aa000bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- name: Create new tag

run: |
existing_tag=$(git ls-remote --tags origin | grep -n "v${{ env.VERSION }}" )
existing_tag=$(git ls-remote --tags origin | grep -n "v${{ env.VERSION }}" || true )
if [ -z "$existing_tag" ]; then
echo "Tag v${{ env.VERSION }} does not exist"
else
Expand Down

0 comments on commit aa000bf

Please sign in to comment.