We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b29fcb5 commit 316f360Copy full SHA for 316f360
scripts/build.sh
@@ -11,12 +11,13 @@ function usage() {
11
echo "Arguments:"
12
echo -e "-v VERSION\t[Required] OpenSearch version."
13
echo -e "-s SNAPSHOT\t[Optional] Build a snapshot, default is 'false'."
14
+ echo -e "-p PLATFORM\t[Optional] Platform, ignored."
15
echo -e "-a ARCHITECTURE\t[Optional] Build architecture, ignored."
16
echo -e "-o OUTPUT\t[Optional] Output path, default is 'artifacts'."
17
echo -e "-h help"
18
}
19
-while getopts ":h:v:s:o:a:" arg; do
20
+while getopts ":h:v:s:o:p:a:" arg; do
21
case $arg in
22
h)
23
usage
@@ -31,6 +32,9 @@ while getopts ":h:v:s:o:a:" arg; do
31
32
o)
33
OUTPUT=$OPTARG
34
;;
35
+ p)
36
+ PLATFORM=$OPTARG
37
+ ;;
38
a)
39
ARCHITECTURE=$OPTARG
40
0 commit comments