You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.goreleaser.yml 1.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. # .goreleaser.yml
  2. # Build customization
  3. project_name: ergo
  4. builds:
  5. - main: ergo.go
  6. binary: ergo
  7. goos:
  8. - freebsd
  9. - windows
  10. - darwin
  11. - linux
  12. goarch:
  13. - "386"
  14. - amd64
  15. - arm
  16. - arm64
  17. goarm:
  18. - 6
  19. - 7
  20. ignore:
  21. - goos: windows
  22. goarch: arm
  23. - goos: darwin
  24. goarch: arm
  25. - goos: darwin
  26. goarch: 386
  27. - goos: freebsd
  28. goarch: arm
  29. - goos: freebsd
  30. goarch: arm64
  31. flags:
  32. - -trimpath
  33. archives:
  34. -
  35. name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
  36. format: tar.gz
  37. replacements:
  38. amd64: x86_64
  39. darwin: macos
  40. format_overrides:
  41. - goos: windows
  42. format: zip
  43. files:
  44. - README
  45. - CHANGELOG.md
  46. - ergo.motd
  47. - default.yaml
  48. - traditional.yaml
  49. - docs/MANUAL.md
  50. - docs/USERGUIDE.md
  51. - languages/*.yaml
  52. - languages/*.json
  53. - languages/*.md
  54. wrap_in_directory: true
  55. checksum:
  56. name_template: "{{ .ProjectName }}-{{ .Version }}-checksums.txt"