;tools: release: push current HEAD, not master
This commit is contained in:
parent
8d31f21502
commit
20ab8abd8d
@ -118,9 +118,9 @@ prep() {
|
|||||||
|
|
||||||
# Push the current branch to the CI branches that generate platform binaries.
|
# Push the current branch to the CI branches that generate platform binaries.
|
||||||
bin() {
|
bin() {
|
||||||
run git push -f origin master:ci-windows
|
run git push -f origin HEAD:ci-windows
|
||||||
run git push -f origin master:ci-mac
|
run git push -f origin HEAD:ci-mac
|
||||||
run git push -f origin master:ci-linux-x64
|
run git push -f origin HEAD:ci-linux-x64
|
||||||
}
|
}
|
||||||
|
|
||||||
if declare -f "$1" > /dev/null; then "$@"; else usage; fi
|
if declare -f "$1" > /dev/null; then "$@"; else usage; fi
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user