.goreleaser.yml 695 B

1234567891011121314151617181920212223242526272829303132
  1. # This is an example .goreleaser.yml file with some sane defaults.
  2. # Make sure to check the documentation at http://goreleaser.com
  3. before:
  4. hooks:
  5. # You may remove this if you don't use go modules.
  6. - go mod download
  7. # you may remove this if you don't need go generate
  8. - go generate ./...
  9. builds:
  10. - env:
  11. - CGO_ENABLED=0
  12. goos:
  13. - linux
  14. - windows
  15. - darwin
  16. archives:
  17. - replacements:
  18. darwin: Darwin
  19. linux: Linux
  20. windows: Windows
  21. 386: i386
  22. amd64: x86_64
  23. checksum:
  24. name_template: 'checksums.txt'
  25. snapshot:
  26. name_template: "{{ .Tag }}-next"
  27. changelog:
  28. sort: asc
  29. filters:
  30. exclude:
  31. - '^docs:'
  32. - '^test:'