Skip to content

Commit

Permalink
migrate to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
jandelgado committed Aug 20, 2024
1 parent b12e49d commit 018df59
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
version: 2
before:
hooks:
# You may remove this if you don't use go modules.
Expand All @@ -17,16 +18,17 @@ archives:
- files:
- README.md
- LICENSE
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
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 -}}
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
version_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
Expand Down

0 comments on commit 018df59

Please sign in to comment.