tools/semver_git_tag with --no-verify

This commit is contained in:
pvincent
2025-10-29 19:31:00 +04:00
parent 736f90402d
commit fcd5f247c5
+2 -1
View File
@@ -108,6 +108,7 @@ function latest_tagged_version {
if [[ $? -eq 0 && -n "$LAST_TAG" ]]; then if [[ $? -eq 0 && -n "$LAST_TAG" ]]; then
echo "LAST=${LAST_TAG}" echo "LAST=${LAST_TAG}"
VERSION=$(git describe --tags $LAST_TAG) VERSION=$(git describe --tags $LAST_TAG)
echo "current is: $VERSION"
else else
echo 'not yet tagged!' echo 'not yet tagged!'
VERSION=0.0.0 VERSION=0.0.0
@@ -121,9 +122,9 @@ assert_git_clean
assert_git_pull assert_git_pull
parse_options $* parse_options $*
[[ -z $COMMAND ]] && ask_for_tag
git_push git_push
latest_tagged_version latest_tagged_version
[[ -z $COMMAND ]] && ask_for_tag
# split into array # split into array
VERSION_BITS=(${VERSION//./ }) VERSION_BITS=(${VERSION//./ })