From 4463fd35a7134c953727661f066ea20b6f1f036a Mon Sep 17 00:00:00 2001 From: chetankothari Date: Thu, 28 May 2020 23:29:48 +0530 Subject: [PATCH] Chetan | Add SNAPSHOT to dev/qa artifacts --- app/build.gradle | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index f3e3685c8f..3ea8775946 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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" }