Last active
November 27, 2017 19:51
-
-
Save cmilfont/b8f2ab8080a4d1336be23a3480db3307 to your computer and use it in GitHub Desktop.
Scripts para facilitar o workflow de release e corretamente gerar o changelog
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -x | |
CURRENT=`git branch | grep "*" | awk '{print $2}'` | |
git commit -m "#${CURRENT}: $1" | |
# git add . | |
# commit "message" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -x | |
FB="feat($1)" | |
git checkout beta | |
git pull --rebase origin beta | |
git checkout -b $FB beta | |
git push origin $FB | |
# feature NS-90 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -x | |
FB=fix($1) | |
git checkout master | |
git pull --rebase origin master | |
git checkout -b $FB master | |
git push origin $FB | |
# hotfix NS-90 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment