forked from Sysdeploy/ipxe_scripts
Test BuildBot tag push with hardcoded values
This commit is contained in:
parent
d0c5287736
commit
108764fc51
|
@ -174,10 +174,8 @@ function tag_head_and_push() {
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
git tag -a "g_$(git rev-parse HEAD)" HEAD -m "BuildBot: tag commit for release $(git rev-parse HEAD)" || return 2
|
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
|
if [ $? -ne 0 ]; then
|
||||||
>&2 echo 'Error during attempted git push of new tag'
|
>&2 echo 'Error during attempted git push of new tag'
|
||||||
return 3
|
return 3
|
||||||
|
|
Loading…
Reference in New Issue
Block a user