Skip to content

Commit afeb6cc

Browse files
authored
use different s3 upload
1 parent b97b059 commit afeb6cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/build-clean.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,6 @@ export XZ_DEFAULTS="-T 0"
5959

6060
tar Jcf ${OUTPUT} --transform "s,^./,./${PROJVERSION}/," -C ${PREFIX}/clean .
6161

62-
if [[ ! -z "${S3OUTPUT}" ]]; then
63-
s3cmd put --rr ${OUTPUT} ${S3OUTPUT}
62+
if [[ -n "${S3OUTPUT}" ]]; then
63+
aws s3 cp --storage-class REDUCED_REDUNDANCY "${OUTPUT}" "${S3OUTPUT}"
6464
fi

0 commit comments

Comments
 (0)