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

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