fixed custom-publisher

Signed-off-by: Sam Alba <sam.alba@gmail.com>
This commit is contained in:
Sam Alba 2021-04-30 17:48:58 -07:00
parent 5e241fde3d
commit 13a14cb006

View File

@ -22,15 +22,15 @@ 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
- examples/**/* - examples/**/*
format_overrides: format_overrides:
- goos: windows - goos: windows
format: zip format: zip
checksum: checksum:
name_template: 'checksums.txt' name_template: 'checksums.txt'
@ -46,27 +46,29 @@ 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: "https://dagger-io.s3.amazonaws.com/dagger/releases/{{ .Version }}/{{ .ArtifactName }}" url_template: "https://dagger-io.s3.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: blobs:
- -
provider: s3 provider: s3
region: us-east-1 region: us-east-1
bucket: dagger-io bucket: dagger-io
folder: "dagger/releases/{{ .Version }}" folder: "dagger/releases/{{ .Version }}"
publishers: publishers:
- -
name: publish-version name: publish-version
cmd: sh -c "echo {{ .Version }} | aws s3 cp - s3://dagger-io/dagger/latest_version" cmd: sh -c "echo {{ .Version }} | aws s3 cp - s3://dagger-io/dagger/latest_version"
env:
- PATH={{ .Env.PATH }}