Skip to content

Commit 6cd5e31

Browse files
committedNov 25, 2020
[CI] Makes version_qualifier parameter in make.sh
1 parent 02f4d33 commit 6cd5e31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎.ci/make.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ repo=$(realpath "$script_path/../")
1111
# shellcheck disable=SC1090
1212
CMD=$1
1313
VERSION=$2
14+
VERSION_QUALIFIER=${VERSION-''}
1415
set -euo pipefail
1516

1617
TARGET_DIR=${TARGET_DIR-.ci/output}
@@ -20,7 +21,6 @@ GITHUB_TOKEN=${GITHUB_TOKEN-nil}
2021
RUBYGEMS_API=${RUBYGEMS_API-nil}
2122
GIT_NAME=${GIT_NAME-elastic}
2223
GIT_EMAIL=${GIT_EMAIL-'clients-team@elastic.co'}
23-
VERSION_QUALIFIER=${VERSION_QUALIFIER-''}
2424

2525
case $CMD in
2626
assemble)
@@ -29,7 +29,7 @@ case $CMD in
2929
*)
3030
echo -e "\nUsage:"
3131
echo -e "\t Build gem files:"
32-
echo -e "\t [VERSION_QUALIFIER=alpha1] $0 assemble\n"
32+
echo -e "\t $0 assemble [version_qualifier]\n"
3333
exit 1
3434
esac
3535

0 commit comments

Comments
 (0)
Please sign in to comment.