From 0881471bf0f3c88f11f99f946932b2033a9f3ce6 Mon Sep 17 00:00:00 2001 From: "D. Moonfire" Date: Wed, 12 Oct 2022 21:53:42 -0500 Subject: [PATCH] fix: fixing S3 buckets --- scripts/release.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/release.sh b/scripts/release.sh index daf5ba1..d7f8604 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -29,7 +29,11 @@ then tar -cjf i-will-hurt-you-only-once.tar.bz2 dmoonfire* log "uploading tarball to bucket" - s3cmd --access_key=$S3_ACCESS_KEY_ID --access_token=$S3_SECRET_ACCESS_KEY --host=$S3_ENDPOINT --host-bucket=$S3_ENDPOINT -P put i-will-hurt-you-only-once.tar.bz2 s3://$AWS_BUCKET || exit 1 + export AWS_ACCESS_KEY_ID=$S3_ACCESS_KEY_ID + export AWS_SECRET_ACCESS_KEY=$S3_SECRET_ACCESS_KEY + export AWS_ENDPOINT=$S3_ENDPOINT + export AWS_BUCKET=$S3_BUCKET + s3cmd --access_key=$S3_ACCESS_KEY_ID --access_token=$S3_SECRET_ACCESS_KEY --host=$S3_ENDPOINT --host-bucket=$S3_ENDPOINT -P put i-will-hurt-you-only-once.tar.bz2 s3://$S3_BUCKET || exit 1 else log "no files to upload" fi