Skip to content
Permalink
Browse files

Patch if statement due to invalid logic flow

  • Loading branch information...
TheTemportalist
TheTemportalist committed May 26, 2016
1 parent a7ba6e2 commit 0da9df7738de6f02643254f13646d8348935f9c4
Showing with 2 additions and 2 deletions.
  1. +2 −2 build.gradle
@@ -64,8 +64,8 @@ def createVersion() {
proc.waitFor()
println("Building on branch " + branch)
def version = "${version_major}.${version_minor}.${version_patch}"
if (project.hasProperty("build_type") && "${build_type}" == "dev") {
version += "." + getBuildNumber()
if (project.hasProperty("build_type")) {
if ("${build_type}" == "dev") version += "." + getBuildNumber()
}
else if (!branch.startsWith("master"))
version += "." + getBuildNumber()

0 comments on commit 0da9df7

Please sign in to comment.
You can’t perform that action at this time.