Skip to content

Commit

Permalink
Add output to scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
dacort committed Feb 14, 2024
1 parent 9df430e commit dca0f06
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/extension-upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ ext="build/release/extension/duckdb-athena-extension/$1.duckdb_extension"
gzip < $ext > "$1.duckdb_extension.gz"

# upload compressed extension binary to S3
echo "Uploading extension binary to s3://$5/artifacts/$1/$2/$3/$4/$1.duckdb_extension.gz"
aws s3 cp $1.duckdb_extension.gz s3://$5/artifacts/$1/$2/$3/$4/$1.duckdb_extension.gz

if [ $6 = 'true' ]
then
echo "Also copying to latest"
aws s3 cp $1.duckdb_extension.gz s3://$5/artifacts/$1/latest/$3/$4/$1.duckdb_extension.gz
fi
# also uplo

0 comments on commit dca0f06

Please sign in to comment.