goreleaser.yml 353 B

1234567891011121314151617181920212223
  1. project_name: m7s
  2. archives:
  3. -
  4. files:
  5. - config.yaml
  6. - favicon.ico
  7. - conf-example/*
  8. builds:
  9. - id: "all"
  10. env:
  11. - CGO_ENABLED=0
  12. ldflags:
  13. - -s -w -X main.version={{.Tag}}
  14. goos:
  15. - linux
  16. - windows
  17. - darwin
  18. goarch:
  19. - arm64
  20. - amd64
  21. hooks:
  22. pre:
  23. - go mod tidy