From cf721c4cf08f1fa0dd0e4cf02dca3de3b9fc3464 Mon Sep 17 00:00:00 2001 From: Michael Riley Date: Thu, 24 Aug 2023 10:06:22 -0400 Subject: [PATCH] Fix goreleaser archive names and remove deprecated brew command (#344) * Use repository instead of tap in brews goreleaser * Update goreleaser archive formatting --- .goreleaser.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index dc7426a8..e75d7333 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -25,13 +25,11 @@ builds: archives: - name_template: >- - {{- .ProjectName }}_v {{- .Version }}_ - {{- if .Os eq "darwin" }}macOs + {{- if eq .Os "darwin" }}macOs {{- else }}{{ .Os }}{{ end }}_ - {{- if .Arch eq "amd64" }}x64 - {{- else if .Arch eq "arm64" }}arm64 - {{- else if .Arch eq "arm" }}arm32-v{{ .Arm }}{{ end }} + {{- if eq .Arch "arm" }}arm32-v{{ .Arm }} + {{- else }}{{ .Arch }}{{ end }} format: tar.gz @@ -60,11 +58,10 @@ brews: - name: vultr-cli - tap: + repository: owner: vultr name: homebrew-vultr-cli - url_template: "https://github.com/vultr/vultr-cli/releases/download/{{ .Tag }}/{{ .ArtifactName }}" commit_author: