.goreleaser.yaml 421 B

12345678910111213141516171819202122232425
  1. version: 2
  2. before:
  3. hooks:
  4. - go mod tidy
  5. - go generate ./...
  6. builds:
  7. - env:
  8. - CGO_ENABLED=0
  9. goos:
  10. - freebsd
  11. - linux
  12. goarch:
  13. - "386"
  14. - amd64
  15. - arm
  16. - arm64
  17. - riscv64
  18. main: ./cmd/presence
  19. archives:
  20. - format: tar.xz
  21. wrap_in_directory: true
  22. checksum:
  23. name_template: "{{ .ProjectName }}_{{ .Version }}_checksums.sha256"
  24. release:
  25. prerelease: auto