.goreleaser.yml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. # This is an example goreleaser.yaml file with some sane defaults.
  2. # Make sure to check the documentation at http://goreleaser.com
  3. before:
  4. hooks:
  5. builds:
  6. -
  7. id: "s2c"
  8. binary: s2c
  9. main: ./s2/cmd/s2c/main.go
  10. env:
  11. - CGO_ENABLED=0
  12. goos:
  13. - linux
  14. - freebsd
  15. - netbsd
  16. - windows
  17. goarch:
  18. - 386
  19. - amd64
  20. - arm
  21. - arm64
  22. - ppc64
  23. - ppc64le
  24. - mips64
  25. - mips64le
  26. goarm:
  27. - 7
  28. -
  29. id: "s2d"
  30. binary: s2d
  31. main: ./s2/cmd/s2d/main.go
  32. env:
  33. - CGO_ENABLED=0
  34. goos:
  35. - linux
  36. - freebsd
  37. - netbsd
  38. - windows
  39. goarch:
  40. - 386
  41. - amd64
  42. - arm
  43. - arm64
  44. - ppc64
  45. - ppc64le
  46. - mips64
  47. - mips64le
  48. goarm:
  49. - 7
  50. archives:
  51. -
  52. id: s2-binaries
  53. replacements:
  54. darwin: Darwin
  55. linux: Linux
  56. windows: Windows
  57. 386: i386
  58. amd64: x86_64
  59. freebsd: FreeBSD
  60. netbsd: NetBSD
  61. format_overrides:
  62. - goos: windows
  63. format: zip
  64. files:
  65. - s2/LICENSE
  66. - s2/README.md
  67. checksum:
  68. name_template: 'checksums.txt'
  69. snapshot:
  70. name_template: "{{ .Tag }}-next"
  71. changelog:
  72. sort: asc
  73. filters:
  74. exclude:
  75. - '^doc:'
  76. - '^docs:'
  77. - '^test:'
  78. - '^tests:'
  79. - '^Update\sREADME.md'
  80. nfpms:
  81. -
  82. vendor: Klaus Post
  83. homepage: https://github.com/klauspost/compress
  84. maintainer: Klaus Post <klauspost@gmail.com>
  85. description: S2 Compression Tool
  86. license: BSD 3-Clause
  87. formats:
  88. - deb
  89. - rpm
  90. replacements:
  91. darwin: Darwin
  92. linux: Linux
  93. freebsd: FreeBSD
  94. amd64: x86_64