Skip to content

Commit

Permalink
Fix typo in common-utils build scripts
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
  • Loading branch information
peterzhuamazon committed Mar 21, 2022
1 parent 4ada5c4 commit cbef09d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/components/common-utils/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ function usage() {
echo ""
echo "Arguments:"
echo -e "-v VERSION\t[Required] OpenSearch version."
echo -e "-q QUALIFIER\t[Optional] Version qualifier."
echo -e "-s SNAPSHOT\t[Optional] Build a snapshot, default is 'false'."
echo -e "-p PLATFORM\t[Optional] Platform, ignored."
echo -e "-a ARCHITECTURE\t[Optional] Build architecture, ignored."
Expand All @@ -27,7 +28,7 @@ while getopts ":h:v:q:s:o:p:a:" arg; do
VERSION=$OPTARG
;;
q)
QUALIIFIER=$OPTARG
QUALIFIER=$OPTARG
;;
s)
SNAPSHOT=$OPTARG
Expand Down Expand Up @@ -66,4 +67,4 @@ fi
./gradlew publishShadowPublicationToMavenLocal -Dopensearch.version=$VERSION -Dbuild.snapshot=$SNAPSHOT -Dbuild.version_qualifier=$QUALIFIER
./gradlew publishShadowPublicationToStagingRepository -Dopensearch.version=$VERSION -Dbuild.snapshot=$SNAPSHOT -Dbuild.version_qualifier=$QUALIFIER
mkdir -p $OUTPUT/maven/org/opensearch
cp -r ./build/local-staging-repo/org/opensearch/. $OUTPUT/maven/org/opensearch
cp -r ./build/local-staging-repo/org/opensearch/. $OUTPUT/maven/org/opensearch

0 comments on commit cbef09d

Please sign in to comment.