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 f569791 commit 499036eCopy full SHA for 499036e
build/cli.sh
@@ -36,6 +36,11 @@ function build_and_upload() {
36
if [ "$upload" == "true" ]; then
37
echo "Uploading Cortex CLI to s3://$CLI_BUCKET_NAME/$CORTEX_VERSION/cli/$os/cortex"
38
aws s3 cp cortex s3://$CLI_BUCKET_NAME/$CORTEX_VERSION/cli/$os/cortex --only-show-errors
39
+
40
+ zip cortex.zip cortex
41
+ echo "Uploading zipped Cortex CLI to s3://$CLI_BUCKET_NAME/$CORTEX_VERSION/cli/$os/cortex.zip"
42
+ aws s3 cp cortex.zip s3://$CLI_BUCKET_NAME/$CORTEX_VERSION/cli/$os/cortex.zip --only-show-errors
43
+ rm cortex.zip
44
fi
45
echo "Done ✓"
46
rm cortex
0 commit comments