semver_git_tag --no-verify
This commit is contained in:
@@ -59,7 +59,7 @@ current_branch=$(git rev-parse --abbrev-ref HEAD)
|
|||||||
push_needed=$(git rev-list --branches --not --remotes | wc -l)
|
push_needed=$(git rev-list --branches --not --remotes | wc -l)
|
||||||
if [[ $push_needed -ne 0 ]]; then
|
if [[ $push_needed -ne 0 ]]; then
|
||||||
echo 'git push needed'
|
echo 'git push needed'
|
||||||
git push --set-upstream origin "$current_branch"
|
git push --set-upstream origin "$current_branch" --no-verify
|
||||||
echo 'git push done'
|
echo 'git push done'
|
||||||
echo '-------------'
|
echo '-------------'
|
||||||
fi
|
fi
|
||||||
@@ -146,5 +146,5 @@ git add ${GIT_ROOT_FOLDER}/.semver_git_tag
|
|||||||
echo "tagging as $TAG ..."
|
echo "tagging as $TAG ..."
|
||||||
git commit -am "tagged as ${TAG}"
|
git commit -am "tagged as ${TAG}"
|
||||||
git tag $TAG
|
git tag $TAG
|
||||||
git push origin "$current_branch" --tags
|
git push origin "$current_branch" --tags --no-verify
|
||||||
echo "done"
|
echo "done"
|
||||||
|
|||||||
Reference in New Issue
Block a user