mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2024-12-26 11:22:40 +00:00
db075eb291
- master: test - stable: beta
12 lines
281 B
Bash
Executable File
12 lines
281 B
Bash
Executable File
#!/bin/sh
|
|
CURRENT_BRANCH=`git branch --show-current`
|
|
if [[ $CURRENT_BRANCH != "master" ]]; then
|
|
echo "Not on master branch"
|
|
exit
|
|
fi
|
|
if !(git checkout stable && git merge master && git push github); then
|
|
echo "Error while pushing stable"
|
|
exit
|
|
fi
|
|
git checkout master
|