Update push script to support branches.
This commit is contained in:
parent
2b3b8eab71
commit
36305c50b1
2 changed files with 5 additions and 2 deletions
1
NEWS
1
NEWS
|
@ -3,6 +3,7 @@
|
||||||
* Organize options within command-line help into logical groups.
|
* Organize options within command-line help into logical groups.
|
||||||
* Exclude tests from distribution packages.
|
* Exclude tests from distribution packages.
|
||||||
* #119: Include a sample borgmatic configuration file in the documentation.
|
* #119: Include a sample borgmatic configuration file in the documentation.
|
||||||
|
* #123: Support for Borg archive restoration via borgmatic --extract command-line flag.
|
||||||
|
|
||||||
1.2.15
|
1.2.15
|
||||||
* #127: Remove date echo from schema example, as it's not a substitute for real logging.
|
* #127: Remove date echo from schema example, as it's not a substitute for real logging.
|
||||||
|
|
|
@ -2,5 +2,7 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
git push -u origin master
|
branch_name=$(git rev-parse --abbrev-ref HEAD)
|
||||||
git push -u github master
|
|
||||||
|
git push -u github "$branch_name"
|
||||||
|
git push -u origin "$branch_name"
|
||||||
|
|
Loading…
Reference in a new issue