changed how branches are recognized
This commit is contained in:
parent
bbb86f1de9
commit
87fd176872
1 changed files with 4 additions and 2 deletions
|
@ -140,10 +140,12 @@ curse {
|
||||||
def branch = System.getenv("GIT_BRANCH")
|
def branch = System.getenv("GIT_BRANCH")
|
||||||
if(branch == null) {
|
if(branch == null) {
|
||||||
releaseType = 'alpha'
|
releaseType = 'alpha'
|
||||||
} else if(branch.equals("experimental")) {
|
} else if(branch.equals("origin/experimental")) {
|
||||||
releaseType = 'beta'
|
releaseType = 'beta'
|
||||||
} else if(branch.equals("master")) {
|
} else if(branch.equals("origin/master")) {
|
||||||
releaseType = 'release'
|
releaseType = 'release'
|
||||||
|
} else {
|
||||||
|
releaseType = 'alpha'
|
||||||
}
|
}
|
||||||
|
|
||||||
changelog = getGitChangelog()
|
changelog = getGitChangelog()
|
||||||
|
|
Loading…
Reference in a new issue