Skip to content

Commit

Permalink
- update template to goreleaser 2
Browse files Browse the repository at this point in the history
  • Loading branch information
jomaresch committed Jul 4, 2024
1 parent a3d5d67 commit e50eb48
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
version: 2

before:
hooks:
- go mod tidy
Expand All @@ -19,12 +21,14 @@ builds:
goarm:
- "7"
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
- name_template: >-
{{- .ProjectName }}_
{{- .Version }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down

0 comments on commit e50eb48

Please sign in to comment.