Commit 9abf53ef03eb554b8d1db7f2f695264c2b85fb1d
1 parent
9ea5cca0
Exists in
master
and in
17 other branches
Calculate MD5 before uploading
Showing
1 changed file
with
5 additions
and
0 deletions
Show diff stats
release.sh
| @@ -34,6 +34,11 @@ if [[ -z ${release_package} ]]; then | @@ -34,6 +34,11 @@ if [[ -z ${release_package} ]]; then | ||
| 34 | error_exit 'could not find the release package' | 34 | error_exit 'could not find the release package' |
| 35 | fi | 35 | fi |
| 36 | 36 | ||
| 37 | +echo | ||
| 38 | +echo 'Package MD5:' | ||
| 39 | +md5sum ${release_package} | ||
| 40 | + | ||
| 41 | +echo | ||
| 37 | echo 'Starting upload' | 42 | echo 'Starting upload' |
| 38 | if !(aws s3 cp ${release_package} s3://${RELEASE_BUCKET} --acl public-read --region ${RELEASE_BUCKET_REGION}); then | 43 | if !(aws s3 cp ${release_package} s3://${RELEASE_BUCKET} --acl public-read --region ${RELEASE_BUCKET_REGION}); then |
| 39 | error_exit 'release upload failed' | 44 | error_exit 'release upload failed' |