goreleaser: added s3

Signed-off-by: Sam Alba <sam.alba@gmail.com>
This commit is contained in:
Sam Alba 2021-04-30 16:32:45 -07:00
parent 17357eee5a
commit af39fed691

View File

@ -5,7 +5,8 @@ before:
- go mod download - go mod download
builds: builds:
- env: -
env:
- CGO_ENABLED=0 - CGO_ENABLED=0
main: ./cmd/dagger main: ./cmd/dagger
binary: dagger binary: dagger
@ -21,12 +22,11 @@ builds:
- arm64 - arm64
archives: archives:
- name_template: "{{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}" -
name_template: "{{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}"
replacements: replacements:
files: files:
- LICENSE - LICENSE
- README.md
- doc/**/*
- examples/**/* - examples/**/*
format_overrides: format_overrides:
- goos: windows - goos: windows
@ -46,13 +46,22 @@ changelog:
- '^test:' - '^test:'
brews: brews:
- tap: -
tap:
owner: dagger owner: dagger
name: homebrew-tap name: homebrew-tap
commit_author: commit_author:
name: dagger-bot name: dagger-bot
email: noreply@dagger.io email: noreply@dagger.io
url_template: "http://dagger-io.s3-website-us-east-1.amazonaws.com/dagger/releases/{{ .Version }}/{{ .ArtifactName }}"
homepage: "https://github.com/dagger/dagger" homepage: "https://github.com/dagger/dagger"
description: "Dagger is a programmable deployment system." description: "Dagger is a programmable deployment system."
test: | test: |
system "#{bin}/dagger version" system "#{bin}/dagger version"
blobs:
-
provider: s3
region: us-east-1
bucket: dagger-io
folder: "dagger/releases/{{ .Version }}"