The Digital Telepresence Platform core implementing user account management, authentication, search, global directory, and other platform-wide services.
https://digitaltelepresence.com/
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.
23 lines
344 B
23 lines
344 B
#!/bin/bash
|
|
|
|
if [ -z "$1" ]
|
|
then
|
|
echo "Must specify the release type: major, minor, patch"
|
|
exit;
|
|
fi
|
|
|
|
if [ -z "$2" ]
|
|
then
|
|
echo "Must specify the remote release target (origin, etc.)"
|
|
exit;
|
|
fi
|
|
|
|
git checkout develop
|
|
yarn version --$1
|
|
git push "$2" develop
|
|
|
|
git checkout master
|
|
git pull . develop
|
|
git push "$2" master
|
|
|
|
git checkout develop
|
|
|