File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ output_folder=".ci/output"
40
40
codegen_folder=" .ci/output"
41
41
OUTPUT_DIR=" $repo /${output_folder} "
42
42
REPO_BINDING=" ${OUTPUT_DIR} :/sln/${output_folder} "
43
+ WORKFLOW=" ${WORKFLOW-staging} "
43
44
mkdir -p " $OUTPUT_DIR "
44
45
45
46
echo -e " \033[34;1mINFO:\033[0m PRODUCT ${product} \033[0m"
@@ -139,7 +140,11 @@ if [[ "$CMD" == "assemble" ]]; then
139
140
if compgen -G " .ci/output/*" > /dev/null; then
140
141
141
142
# Tarball everything up in .ci/output
142
- cd $repo /.ci/output && tar -czvf elasticsearch-py-$VERSION .tar.gz * && cd -
143
+ if [[ " $WORKFLOW " == ' snapshot' ]]; then
144
+ cd $repo /.ci/output && tar -czvf elasticsearch-py-$VERSION -SNAPSHOT.tar.gz * && cd -
145
+ else
146
+ cd $repo /.ci/output && tar -czvf elasticsearch-py-$VERSION .tar.gz * && cd -
147
+ fi
143
148
144
149
echo -e " \033[32;1mTARGET: successfully assembled client v$VERSION \033[0m"
145
150
exit 0
You can’t perform that action at this time.
0 commit comments