.goreleaser.yml 806 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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=1
  12. goos:
  13. - linux
  14. - windows
  15. - darwin
  16. # - android
  17. - freebsd
  18. - js
  19. goarch:
  20. - amd64
  21. - arm64
  22. - 386
  23. #- wasm
  24. archives:
  25. - replacements:
  26. darwin: Darwin
  27. linux: Linux
  28. windows: Windows
  29. 386: i386
  30. amd64: x86_64
  31. checksum:
  32. name_template: 'checksums.txt'
  33. snapshot:
  34. name_template: "{{ .Tag }}-next"
  35. changelog:
  36. sort: asc
  37. filters:
  38. exclude:
  39. - '^docs:'
  40. - '^test:'