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.3KB

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