We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4bf81d commit 96ef35cCopy full SHA for 96ef35c
1 file changed
bump-tag.sh
@@ -3,7 +3,7 @@
3
set -euo pipefail
4
5
# Find latest tag excluding major v0
6
-LATEST_TAG=$(git tag --list --sort=-v:refname | grep -v '^v0' | head -n1 || true)
+LATEST_TAG=$(git tag --list --sort=-v:refname | head -n1 || true)
7
if [ -z "$LATEST_TAG" ]; then
8
echo "No suitable tag found (excluding v0). Aborting." >&2
9
exit 1
0 commit comments