Skip to content

Commit

Permalink
Merge pull request #109 in ROB/ihmc-open-robotics-software from disab…
Browse files Browse the repository at this point in the history
…le-branch-check-for-support-branch-releases to 0.9-support

* commit '1ea2db0b43db70222475e58674eee533cf945411':
  Don't do branch checking when performing a release on this support branch.
  • Loading branch information
Douglas Stephen committed Feb 22, 2017
2 parents 09ee7c1 + 1ea2db0 commit 4963420
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ if (buildType.equals("RC")) {
project.ext.fullVersion = version += "-RC${project.ext.releaseCandidateCounter}.rev.${repo.head().abbreviatedId}"
}

if (buildType.equals("RELEASE")) {
if (!project.ext.repo.branch.current.name.equals("master")) {
throw new GradleException("Cannot make RELEASE build from branch \"${project.ext.repo.branch.current.name}\", it is not the branch used for stable releases!")
}
}
// if (buildType.equals("RELEASE")) {
// if (!project.ext.repo.branch.current.name.equals("master")) {
// throw new GradleException("Cannot make RELEASE build from branch \"${project.ext.repo.branch.current.name}\", it is not the branch used for stable releases!")
// }
// }

repositories {
mavenLocal()
Expand Down

0 comments on commit 4963420

Please sign in to comment.