Skip to content

Commit

Permalink
Fix goreleaser archive names and remove deprecated brew command (#344)
Browse files Browse the repository at this point in the history
* Use repository instead of tap in brews goreleaser

* Update goreleaser archive formatting
  • Loading branch information
optik-aper committed Aug 24, 2023
1 parent a6aee3a commit cf721c4
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit cf721c4

Please sign in to comment.