1 changed files with 17 additions and 0 deletions
@ -0,0 +1,17 @@ |
|||||
|
#!/bin/bash |
||||
|
|
||||
|
if [ -z "$1" ] |
||||
|
then |
||||
|
echo "Must specify the release type: major, minor, patch" |
||||
|
exit; |
||||
|
fi |
||||
|
|
||||
|
git checkout develop |
||||
|
yarn version --$1 |
||||
|
git push origin develop |
||||
|
|
||||
|
git checkout master |
||||
|
git pull . develop |
||||
|
git push origin master |
||||
|
|
||||
|
git checkout develop |
Loading…
Reference in new issue