Commit 9ea5cca052a69529e2637e0b521a4e82477043c3

Authored by Jacob Vosmaer
1 parent ef6965df

Improve script output during upload

Showing 1 changed file with 2 additions and 3 deletions   Show diff stats
release.sh
... ... @@ -34,8 +34,7 @@ if [[ -z ${release_package} ]]; then
34 34 error_exit 'could not find the release package'
35 35 fi
36 36  
37   -if !(aws s3 cp ${release_package} s3://#{RELEASE_BUCKET} --acl public-read --region ${RELEASE_BUCKET_REGION}); then
  37 +echo 'Starting upload'
  38 +if !(aws s3 cp ${release_package} s3://${RELEASE_BUCKET} --acl public-read --region ${RELEASE_BUCKET_REGION}); then
38 39 error_exit 'release upload failed'
39 40 fi
40   -
41   -echo "$0: package uploaded to https://${RELEASE_BUCKET}.s3.amazonaws.com/${release_package}"
... ...