Update push script to support branches.
All checks were successful
the build was successful

This commit is contained in:
2019-02-18 13:51:33 -08:00
parent 2b3b8eab71
commit 36305c50b1
2 changed files with 5 additions and 2 deletions

View File

@@ -2,5 +2,7 @@
set -e
git push -u origin master
git push -u github master
branch_name=$(git rev-parse --abbrev-ref HEAD)
git push -u github "$branch_name"
git push -u origin "$branch_name"