common/conf/jib-profiles.js
changeset 44466 5b09914e1c28
parent 44399 aa6d8068ec21
parent 44200 ace0f086665d
child 44583 0ebe9abfb687
child 46202 6221728aa15e
--- a/common/conf/jib-profiles.js	Thu Mar 30 17:23:14 2017 +0000
+++ b/common/conf/jib-profiles.js	Thu Apr 06 04:48:39 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;