Chetan | Add SNAPSHOT to dev/qa artifacts
This commit is contained in:
@@ -177,7 +177,11 @@ uploadArchives {
|
||||
repository(url: "$NEXUS_URL") {
|
||||
authentication(userName: "$NEXUS_USERNAME", password: "$NEXUS_PASSWORD")
|
||||
}
|
||||
pom.version = "navi_v$VERSION_NAME"
|
||||
if ("$FLAVOR" == "PROD") {
|
||||
pom.version = "navi_v$VERSION_NAME"
|
||||
} else {
|
||||
pom.version = "navi_v$VERSION_NAME-SNAPSHOT"
|
||||
}
|
||||
pom.artifactId = "$FLAVOR"
|
||||
pom.groupId = "com.naviapp"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user