From 23e275e94686de62e4444cc34f087255656be1e2 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Tue, 13 Aug 2019 13:48:53 -0300 Subject: [PATCH] fix: update config Signed-off-by: Carlos Alexandro Becker --- .goreleaser.yml | 44 +++++++++++++++++++++----------------------- 1 file changed, 21 insertions(+), 23 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 793df506b..2671d6967 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -62,8 +62,7 @@ dockers: extra_files: - scripts/entrypoint.sh archives: - - - name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' + - name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' replacements: darwin: Darwin linux: Linux @@ -73,15 +72,15 @@ archives: format_overrides: - goos: windows format: zip -brew: - github: - owner: goreleaser - name: homebrew-tap - folder: Formula - homepage: https://goreleaser.com - description: Deliver Go binaries as fast and easily as possible - test: | - system "#{bin}/goreleaser -v" +brews: + - github: + owner: goreleaser + name: homebrew-tap + folder: Formula + homepage: https://goreleaser.com + description: Deliver Go binaries as fast and easily as possible + test: | + system "#{bin}/goreleaser -v" scoop: bucket: owner: goreleaser @@ -90,8 +89,7 @@ scoop: description: Deliver Go binaries as fast and easily as possible license: MIT nfpms: - - - name_template: '{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' + - name_template: '{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' homepage: https://goreleaser.com description: Deliver Go binaries as fast and easily as possible maintainer: Carlos Alexandro Becker @@ -104,13 +102,13 @@ nfpms: - git recommends: - rpm -snapcraft: - name_template: '{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' - summary: Deliver Go binaries as fast and easily as possible - description: | - GoReleaser builds Go binaries for several platforms, creates a GitHub - release and then pushes a Homebrew formula to a repository. All that - wrapped in your favorite CI. - grade: stable - confinement: classic - publish: true +snapcrafts: + - name_template: '{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' + summary: Deliver Go binaries as fast and easily as possible + description: | + GoReleaser builds Go binaries for several platforms, creates a GitHub + release and then pushes a Homebrew formula to a repository. All that + wrapped in your favorite CI. + grade: stable + confinement: classic + publish: true