goreleaser.yml 699 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # goreleaser.yml
  2. # https://github.com/goreleaser/goreleaser
  3. project_name: misspell
  4. builds:
  5. -
  6. main: cmd/misspell/main.go
  7. binary: misspell
  8. ldflags: -s -w -X main.version={{.Version}}
  9. goos:
  10. - darwin
  11. - linux
  12. - windows
  13. goarch:
  14. - amd64
  15. env:
  16. - CGO_ENABLED=0
  17. ignore:
  18. - goos: darwin
  19. goarch: 386
  20. - goos: windows
  21. goarch: 386
  22. archive:
  23. name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
  24. replacements:
  25. amd64: 64bit
  26. 386: 32bit
  27. darwin: mac
  28. files:
  29. - none*
  30. checksum:
  31. name_template: "{{ .ProjectName }}_{{ .Version }}_checksums.txt"
  32. snapshot:
  33. name_template: "SNAPSHOT-{{.Commit}}"