.goreleaser.yml 770 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # This is an example .goreleaser.yml file with some sensible defaults.
  2. # Make sure to check the documentation at https://goreleaser.com
  3. before:
  4. hooks:
  5. # You may remove this if you don't use go modules.
  6. - go mod tidy
  7. builds:
  8. - env:
  9. - CGO_ENABLED=0
  10. goos:
  11. - linux
  12. - windows
  13. - darwin
  14. archives:
  15. -
  16. replacements:
  17. darwin: Darwin
  18. linux: Linux
  19. windows: Windows
  20. 386: i386
  21. amd64: x86_64
  22. files:
  23. - src: 'html/*'
  24. dst: html
  25. strip_parent: true
  26. - src: 'static/*'
  27. dst: static
  28. strip_parent: true
  29. checksum:
  30. name_template: 'checksums.txt'
  31. snapshot:
  32. name_template: "{{ incpatch .Version }}-next"
  33. changelog:
  34. sort: asc
  35. filters:
  36. exclude:
  37. - '^docs:'
  38. - '^test:'