You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
253 B
18 lines
253 B
1 year ago
|
#!/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
|