Skip to content

Commit

Permalink
changed how branches are recognized
Browse files Browse the repository at this point in the history
  • Loading branch information
MachineMuse committed Aug 28, 2015
1 parent 6a4d092 commit 6fdf318
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,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'
}


Expand Down

0 comments on commit 6fdf318

Please sign in to comment.