releasing: automatically checkout the master branch back

This commit is contained in:
Yusuke KUOKA 2019-03-20 17:51:47 +09:00
parent acbb416028
commit 3e40e90a2a
1 changed files with 2 additions and 0 deletions

View File

@ -72,6 +72,7 @@ release/minor:
bash -c 'if git branch | grep autorelease; then git branch -D autorelease; else echo no branch to be cleaned; fi'
git checkout -b autorelease origin/master
bash -c 'SEMTAG_REMOTE=origin hack/semtag final -s minor'
git checkout master
release/patch:
git checkout master
@ -79,3 +80,4 @@ release/patch:
bash -c 'if git branch | grep autorelease; then git branch -D autorelease; else echo no branch to be cleaned; fi'
git checkout -b autorelease origin/master
bash -c 'SEMTAG_REMOTE=origin hack/semtag final -s patch'
git checkout master