You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
234 B
17 lines
234 B
3 years ago
|
#!/bin/bash
|
||
|
|
||
|
if [ -z "$1" ]
|
||
|
then
|
||
|
echo "Must specify the remote release target (origin, etc.)"
|
||
|
exit;
|
||
|
fi
|
||
|
|
||
|
git checkout develop
|
||
|
git push "$1" develop
|
||
|
|
||
|
git checkout master
|
||
|
git pull . develop
|
||
|
git push "$1" master
|
||
|
|
||
|
git checkout develop
|