common/conf/jib-profiles.js
changeset 44583 0ebe9abfb687
parent 44513 1cf28405432d
parent 44466 5b09914e1c28
child 44695 aab4fa0803df
child 46206 45deafa80e4f
--- 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;