From cf6984ddaa5668e78d590c8ad1f2aec0632f0b28 Mon Sep 17 00:00:00 2001 From: Magnus Ihse Bursie Date: Fri, 18 Feb 2022 14:49:34 +0000 Subject: [PATCH] 8282086: Update jib profile to not set build to 0 Reviewed-by: erikj --- make/conf/jib-profiles.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/make/conf/jib-profiles.js b/make/conf/jib-profiles.js index e0041e91851..5e4c5791859 100644 --- a/make/conf/jib-profiles.js +++ b/make/conf/jib-profiles.js @@ -1424,7 +1424,10 @@ var getVersion = function (feature, interim, update, patch, extra1, extra2, extr * other version inputs */ var versionArgs = function(input, common) { - var args = ["--with-version-build=" + common.build_number]; + var args = []; + if (common.build_number != 0) { + args = concat(args, "--with-version-build=" + common.build_number); + } if (input.build_type == "promoted") { args = concat(args, "--with-version-pre=" + version_numbers.get("DEFAULT_PROMOTED_VERSION_PRE"),