Skip to content

Commit d4280bb

Browse files
committed
refactor: update S3 upload command
Using the official Amazon-provided CLI.
1 parent 8984a2e commit d4280bb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,10 @@ clipper-${VERSION}.zip: clipper
3333
zip $@ clipper
3434

3535
upload: clipper-${VERSION}.zip
36-
aws --curl-options=--insecure put s3.wincent.com/clipper/releases/clipper-${VERSION}.zip clipper-${VERSION}.zip
37-
aws --curl-options=--insecure put "s3.wincent.com/clipper/releases/clipper-${VERSION}.zip?acl" --public
36+
# Requires credentials to have been set up with: `aws configure`
37+
# Verify credential set-up with: `aws sts get-caller-identity`
38+
# See also: ~/.aws/credentials
39+
aws s3 cp "clipper-${VERSION}.zip" s3://s3.wincent.com/clipper/releases/clipper-${VERSION}.zip --acl public-read
3840

3941
all: tag build archive upload
4042

0 commit comments

Comments
 (0)