tools/semver_git_tag with --no-verify
This commit is contained in:
@@ -108,6 +108,7 @@ function latest_tagged_version {
|
||||
if [[ $? -eq 0 && -n "$LAST_TAG" ]]; then
|
||||
echo "LAST=${LAST_TAG}"
|
||||
VERSION=$(git describe --tags $LAST_TAG)
|
||||
echo "current is: $VERSION"
|
||||
else
|
||||
echo 'not yet tagged!'
|
||||
VERSION=0.0.0
|
||||
@@ -121,9 +122,9 @@ assert_git_clean
|
||||
assert_git_pull
|
||||
|
||||
parse_options $*
|
||||
[[ -z $COMMAND ]] && ask_for_tag
|
||||
git_push
|
||||
latest_tagged_version
|
||||
[[ -z $COMMAND ]] && ask_for_tag
|
||||
|
||||
# split into array
|
||||
VERSION_BITS=(${VERSION//./ })
|
||||
|
||||
Reference in New Issue
Block a user