We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebe6499 commit 8ed4af9Copy full SHA for 8ed4af9
build/cli.sh
@@ -46,6 +46,23 @@ function build_and_upload() {
46
rm cortex
47
}
48
49
+function build_python {
50
+ pushd $ROOT/pkg/workloads/cortex/client
51
+ python setup.py sdist
52
+
53
+ if [ "$upload" == "true" ]; then
54
+ echo "Uploading Cortex CLI to s3://$CLI_BUCKET_NAME/$CORTEX_VERSION/python/cortex-$CORTEX_VERSION.tar.gz"
55
+ aws s3 cp dist/cortex-$CORTEX_VERSION.tar.gz s3://$CLI_BUCKET_NAME/$CORTEX_VERSION/python/cortex-$CORTEX_VERSION.tar.gz
56
+ fi
57
58
+ rm -rf dist/
59
+ rm -rf cortex.egg-info/
60
61
+ popd
62
+}
63
64
build_and_upload darwin
65
66
build_and_upload linux
67
68
+build_python
0 commit comments