You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: build.gradle
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -39,11 +39,11 @@ if (buildType.equals("RC")) {
39
39
project.ext.fullVersion = version +="-RC${project.ext.releaseCandidateCounter}.rev.${repo.head().abbreviatedId}"
40
40
}
41
41
42
-
if (buildType.equals("RELEASE")) {
43
-
if (!project.ext.repo.branch.current.name.equals("master")) {
44
-
thrownewGradleException("Cannot make RELEASE build from branch \"${project.ext.repo.branch.current.name}\", it is not the branch used for stable releases!")
45
-
}
46
-
}
42
+
//if (buildType.equals("RELEASE")) {
43
+
// if (!project.ext.repo.branch.current.name.equals("master")) {
44
+
// throw new GradleException("Cannot make RELEASE build from branch \"${project.ext.repo.branch.current.name}\", it is not the branch used for stable releases!")
0 commit comments