Skip to content

Commit

Permalink
chore: fixup goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
Jmainguy committed Aug 11, 2023
1 parent a08c2c8 commit ae6401b
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,26 @@ builds:
- arm64

archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
replacements:
darwin: Darwin
linux: Linux
windows: Windows
amd64: x86_64
format_overrides:
- goos: windows
format: zip
- name_template: >-
{{- .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
format_overrides:
- goos: windows
format: zip
nfpms:
- file_name_template: '{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
- file_name_template: >-
{{- if eq .Arch "amd64" }}x86_64
homepage: https://github.com/Jmainguy/ghreport
description: Check Github for Pull Requests, that are not Drafts, in repos the user cares about.
maintainer: Jonathan Seth Mainguy <jon@soh.re>
license: GPLv2
vendor: Jmainguy
release: 1
replacements:
amd64: x86_64
overrides:
rpm:
file_name_template: "{{ .ProjectName }}-{{ .Version }}-{{.Release}}.{{ .Arch }}"
Expand Down

0 comments on commit ae6401b

Please sign in to comment.