Skip to content

Commit

Permalink
8282086: Update jib profile to not set build to 0
Browse files Browse the repository at this point in the history
Reviewed-by: erikj
  • Loading branch information
magicus committed Feb 18, 2022
1 parent f5120b7 commit cf6984d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion make/conf/jib-profiles.js
Expand Up @@ -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"),
Expand Down

1 comment on commit cf6984d

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.