removed extra branch for snapshots
@@ -18,13 +18,8 @@ def branch = System.getenv("TRAVIS_BRANCH");
def getVersionName = { ->
if ("true".equals(System.getenv("TRAVIS_PULL_REQUEST")) || !"master".equals(branch)) {
-
- if (branch != null) {
- versionModifier = "-" + branch + "-SNAPSHOT"
- } else {
versionModifier = "-SNAPSHOT"
}
- }
if (versionModifier != null && versionModifier.length() > 0) {
return "" + versionMajor + "." + versionMinor + "." + versionPatch + versionModifier
