changed how branches are recognized

This commit is contained in:
MachineMuse 2015-08-28 09:16:29 -06:00
parent bbb86f1de9
commit 87fd176872

View file

@ -140,10 +140,12 @@ curse {
def branch = System.getenv("GIT_BRANCH")
if(branch == null) {
releaseType = 'alpha'
} else if(branch.equals("experimental")) {
} else if(branch.equals("origin/experimental")) {
releaseType = 'beta'
} else if(branch.equals("master")) {
} else if(branch.equals("origin/master")) {
releaseType = 'release'
} else {
releaseType = 'alpha'
}
changelog = getGitChangelog()