Skip to content

Commit

Permalink
chore(versioning): fix create tag check
Browse files Browse the repository at this point in the history
  • Loading branch information
xaf committed Jan 13, 2025
1 parent 369e2f8 commit ca3e09f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .omni.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ commands:
set -e
# Do not create a new tag if the current version is tagged already
current_tag=$(git describe --tags --match 'v*' 2>/dev/null || true)
current_tag=$(git describe --tags --exact-match --match 'v*' 2>/dev/null || true)
if [[ -n "$current_tag" ]]; then
echo "Current commit is already tagged: $current_tag"
exit 1
Expand Down

0 comments on commit ca3e09f

Please sign in to comment.