Skip to content

Commit

Permalink
feat: Add goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreZiviani committed Dec 30, 2022
1 parent 514f976 commit f4d273f
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# This is an example .goreleaser.yml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
# You may remove this if you don't use go modules.
- go mod download
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
main: ./main.go
archives:
- format: binary
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
release:
prerelease: auto

0 comments on commit f4d273f

Please sign in to comment.