equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
1075 var versionArgs = function(input, common) { |
1075 var versionArgs = function(input, common) { |
1076 var args = ["--with-version-build=" + common.build_number]; |
1076 var args = ["--with-version-build=" + common.build_number]; |
1077 if (input.build_type == "promoted") { |
1077 if (input.build_type == "promoted") { |
1078 args = concat(args, |
1078 args = concat(args, |
1079 // This needs to be changed when we start building release candidates |
1079 // This needs to be changed when we start building release candidates |
1080 "--with-version-pre=ea", |
1080 // with-version-pre must be set to ea for 'ea' and empty for fcs build |
|
1081 "--with-version-pre=", |
1081 "--without-version-opt"); |
1082 "--without-version-opt"); |
1082 } else { |
1083 } else { |
1083 args = concat(args, "--with-version-opt=" + common.build_id); |
1084 args = concat(args, "--with-version-opt=" + common.build_id); |
1084 } |
1085 } |
1085 return args; |
1086 return args; |