[7.x] Use gzip to compress the release tarball

Co-authored-by: Seth Michael Larson <[email protected]>
This commit is contained in:
github-actions[bot]
2021-01-11 15:19:17 -06:00
committed by GitHub
co-authored by Seth Michael Larson
parent f9f6eac9f1
commit e0e54a1128
+1 -1
View File
@@ -11,7 +11,7 @@ if [[ "$1" == "assemble" ]]; then
docker run --rm -v $BASE_DIR/.ci/output:/code/elasticsearch-py/dist \ docker run --rm -v $BASE_DIR/.ci/output:/code/elasticsearch-py/dist \
elastic/elasticsearch-py \ elastic/elasticsearch-py \
python /code/elasticsearch-py/utils/build-dists.py $2 python /code/elasticsearch-py/utils/build-dists.py $2
cd ./.ci/output && tar -cvf elasticsearch-py-$2.tar.gz * && cd - cd ./.ci/output && tar -czvf elasticsearch-py-$2.tar.gz * && cd -
exit 0 exit 0
fi fi