2 changed files with 17 additions and 2 deletions
@ -0,0 +1,16 @@ |
|||
#!/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 |
Loading…
Reference in new issue