build and deployment automation

master
rob 2 years ago
parent 80fc327c7b
commit 40be02d700

16
push

@ -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

@ -12,9 +12,8 @@ then
exit;
fi
yarn version --$1
git checkout develop
yarn version --$1
git push "$2" develop
git checkout master

Loading…
Cancel
Save