More descriptive output.

This commit is contained in:
Troy Kinsella 2018-10-31 13:38:41 -07:00
parent 5d0034b2ff
commit 1651f9acfd

View file

@ -24,8 +24,10 @@ test -z "$source_dir" && { echo "Must supply params.source_dir" >&2; exit 1; }
export_aws_vars
cd $source/$source_dir
echo "Uploading to S3 from '$source_dir'..."
eval aws s3 sync $source/$source_dir "s3://$bucket/$prefix" $options
bucket_uri="s3://$bucket/$prefix"
echo "Uploading '$source_dir' to '$bucket_uri'..."
eval aws s3 sync $source/$source_dir $bucket_uri $options
echo "Done."
emit_version