added remote release target

master
rob 3 years ago
parent 92056ab98c
commit 13239c95ae

@ -6,13 +6,19 @@ then
exit; exit;
fi fi
if [ -z "$2" ]
then
echo "Must specify the remote release target (origin, etc.)"
exit;
fi
yarn version --$1 yarn version --$1
git checkout develop git checkout develop
git push origin develop git push "$2" develop
git checkout master git checkout master
git pull . develop git pull . develop
git push origin master git push "$2" master
git checkout develop git checkout develop

Loading…
Cancel
Save