Browse Source

build and deployment automation

develop
Rob Colbert 2 years ago
parent
commit
40be02d700
  1. 16
      push
  2. 3
      release

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

3
release

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