Test BuildBot tag push with hardcoded values

This commit is contained in:
Max Weiss 2021-04-29 15:01:38 -07:00
parent d0c5287736
commit 108764fc51
Signed by untrusted user: maxweiss
GPG Key ID: C2D8443BA1D372DB

View File

@ -174,10 +174,8 @@ function tag_head_and_push() {
return 1
fi
git tag -a "g_$(git rev-parse HEAD)" HEAD -m "BuildBot: tag commit for release $(git rev-parse HEAD)" || return 2
git push --tags "$remote" "$branch"
git push --tags origin master
if [ $? -ne 0 ]; then
>&2 echo 'Error during attempted git push of new tag'
return 3