From 9ea5cca052a69529e2637e0b521a4e82477043c3 Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Mon, 17 Feb 2014 17:59:49 +0100 Subject: [PATCH] Improve script output during upload --- release.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/release.sh b/release.sh index cf7bd78..d4cdceb 100755 --- a/release.sh +++ b/release.sh @@ -34,8 +34,7 @@ if [[ -z ${release_package} ]]; then error_exit 'could not find the release package' fi -if !(aws s3 cp ${release_package} s3://#{RELEASE_BUCKET} --acl public-read --region ${RELEASE_BUCKET_REGION}); then +echo 'Starting upload' +if !(aws s3 cp ${release_package} s3://${RELEASE_BUCKET} --acl public-read --region ${RELEASE_BUCKET_REGION}); then error_exit 'release upload failed' fi - -echo "$0: package uploaded to https://${RELEASE_BUCKET}.s3.amazonaws.com/${release_package}" -- libgit2 0.21.2