|
|
@ -59,7 +59,7 @@ current_branch=$(git rev-parse --abbrev-ref HEAD) |
|
|
|
push_needed=$(git rev-list --branches --not --remotes | wc -l) |
|
|
|
if [[ $push_needed -ne 0 ]]; then |
|
|
|
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 '-------------' |
|
|
|
fi |
|
|
@ -146,5 +146,5 @@ git add ${GIT_ROOT_FOLDER}/.semver_git_tag |
|
|
|
echo "tagging as $TAG ..." |
|
|
|
git commit -am "tagged as ${TAG}" |
|
|
|
git tag $TAG |
|
|
|
git push origin "$current_branch" --tags |
|
|
|
git push origin "$current_branch" --tags --no-verify |
|
|
|
echo "done" |