[7.x] Add .ci/make.sh script for building releases
Co-authored-by: Seth Michael Larson <seth.larson@elastic.co>
This commit is contained in:
committed by
GitHub
parent
f6d2da6740
commit
9b8cee0199
Executable
+15
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -eo pipefail
|
||||
|
||||
BASE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||
BASE_DIR="$( dirname "$BASE_DIR" )"
|
||||
|
||||
if [[ "$1" != "release" ]]; then
|
||||
echo "Must be called ./.ci/make.sh release [version]"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
python $BASE_DIR/utils/build_dists.py
|
||||
mkdir -p $BASE_DIR/.ci/output
|
||||
cp $BASE_DIR/dist/* $BASE_DIR/.ci/output/
|
||||
Reference in New Issue
Block a user