changeset 11045:5815764071f0 11+25

8210020: MAVEN_VERSION should use short release version for fcs builds Reviewed-by: kcr Contributed-by: joeri.sykora@gluonhq.com
author kcr
date Tue, 28 Aug 2018 16:24:07 +0200
parents 715e70cb0e92
children 9b5708c95686
files build.gradle
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/build.gradle	Fri Aug 24 17:26:03 2018 +0200
+++ b/build.gradle	Tue Aug 28 16:24:07 2018 +0200
@@ -551,7 +551,7 @@
 defineProperty("RELEASE_SUFFIX", relSuffix)
 defineProperty("RELEASE_VERSION_SHORT", "${RELEASE_VERSION}${RELEASE_SUFFIX}")
 defineProperty("RELEASE_VERSION_LONG", "${RELEASE_VERSION_SHORT}+${PROMOTED_BUILD_NUMBER}${relOpt}")
-defineProperty("MAVEN_VERSION", "$RELEASE_VERSION_LONG")
+defineProperty("MAVEN_VERSION", IS_MILESTONE_FCS ? "${RELEASE_VERSION_SHORT}" : "${RELEASE_VERSION_LONG}")
 
 // Check whether the COMPILE_TARGETS property has been specified (if so, it was done by
 // the user and not by this script). If it has not been defined then default