Skip to content

Commit

Permalink
Goreleaser s3 upload not working (#1243)
Browse files Browse the repository at this point in the history
* [ci] Fix upload of release build artifacts to s3
  • Loading branch information
dopey authored Jul 23, 2024
1 parent 6187feb commit 07a000e
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -262,16 +262,29 @@ release:
# - glob: ./glob/foo/to/bar/file/foobar/override_from_previous

blobs:
-
provider: s3
region: us-east-1
bucket: '{{ .Env.AWS_S3_BUCKET }}'
- provider: s3
disable: 'false'
ids:
- s3-versioned
- s3-unversioned
bucket: '{{ .Env.AWS_S3_BUCKET }}'
region: us-east-1
directory: '/'
acl: public-read
disable: '{{ ne .Prerelease "" }}'
extra_files:
- glob: ./dist/s3-versioned_*/**
extra_files_only: true

- provider: s3
disable: '{{ if .Prerelease }}true{{ else }}false{{ end }}'
ids:
- s3-unversioned
bucket: '{{ .Env.AWS_S3_BUCKET }}'
region: us-east-1
directory: '/'
acl: public-read
extra_files:
- glob: ./dist/s3-unversioned_*/**
extra_files_only: true

winget:
-
Expand Down

0 comments on commit 07a000e

Please sign in to comment.