Skip to content

Commit

Permalink
feat(goreleaser): publish binary file directly
Browse files Browse the repository at this point in the history
This will make it work with `gh extension install`
  • Loading branch information
nobe4 committed May 22, 2024
1 parent e225a06 commit 9fb1623
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,8 @@ builds:
- CGO_ENABLED=0

archives:
- format: tar.gz
name_template: >-
{{ .ProjectName }}-
{{- .Os }}-
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
# use zip for windows archives
format_overrides:
- goos: windows
format: zip
- format: binary
name_template: "{{ .ProjectName }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}"

changelog:
sort: asc
Expand Down

0 comments on commit 9fb1623

Please sign in to comment.