--- a/common/conf/jib-profiles.js Thu Apr 13 16:01:11 2017 +0000
+++ b/common/conf/jib-profiles.js Thu Apr 13 20:34:55 2017 +0000
@@ -1079,7 +1079,7 @@
+ "." + (minor != null ? minor : version_numbers.get("DEFAULT_VERSION_MINOR"))
+ "." + (security != null ? security : version_numbers.get("DEFAULT_VERSION_SECURITY"))
+ "." + (patch != null ? patch : version_numbers.get("DEFAULT_VERSION_PATCH"));
- while (version.match(".*\.0$")) {
+ while (version.match(".*\\.0$")) {
version = version.substring(0, version.length - 2);
}
return version;