Skip to content

Commit

Permalink
chore(build): removing use of normalizedVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
Cameron Motevasselani committed Jun 9, 2023
1 parent 0dfab05 commit 082d62a
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spinnakerBundle {
version = rootProject.version
}

version = normalizedVersion()
//version = normalizedVersion()

subprojects {
group = "io.armory.plugin.stage.wait.random"
Expand Down Expand Up @@ -60,13 +60,13 @@ compileTestKotlin {
}
}

String normalizedVersion() {
String fullVersion = gitVersion()
String normalized = fullVersion.split("-").first()
if (fullVersion.contains("dirty")) {
return "$normalized-SNAPSHOT"
} else {
return normalized
}
}
//String normalizedVersion() {
// String fullVersion = gitVersion()
// String normalized = fullVersion.split("-").first()
// if (fullVersion.contains("dirty")) {
// return "$normalized-SNAPSHOT"
// } else {
// return normalized
// }
//}

0 comments on commit 082d62a

Please sign in to comment.