.goreleaser.yml 473 B

12345678910111213141516171819202122232425262728293031
  1. project_name: zlint
  2. before:
  3. hooks:
  4. - go mod tidy
  5. builds:
  6. -
  7. main: ./cmd/zlint/main.go
  8. binary: zlint
  9. env:
  10. - CGO_ENABLED=0
  11. goos:
  12. - linux
  13. - freebsd
  14. - windows
  15. - darwin
  16. goarch:
  17. - amd64
  18. archives:
  19. -
  20. wrap_in_directory: true
  21. replacements:
  22. darwin: Darwin
  23. linux: Linux
  24. windows: Windows
  25. amd64: x86_64
  26. snapshot:
  27. name_template: "{{ .Tag }}-next"
  28. release:
  29. draft: true
  30. prerelease: auto