Skip to content

Commit

Permalink
goreleaser: use defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Oct 27, 2024
1 parent 8f5c816 commit 7cba5fa
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
version: 2

before:
hooks:
- go mod download

builds:
- id: example
env:
Expand All @@ -20,20 +23,12 @@ builds:
- darwin
main: ./example-nonposix
binary: example-nonposix

archives:
- name_template: 'example_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'

release:
prerelease: auto
prerelease: auto

0 comments on commit 7cba5fa

Please sign in to comment.