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.
 
 
 
 

142 lines
2.4 KiB

  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. - ./gen.sh
  6. - go install mvdan.cc/garble@latest
  7. builds:
  8. -
  9. id: "s2c"
  10. binary: s2c
  11. main: ./s2/cmd/s2c/main.go
  12. flags:
  13. - -trimpath
  14. env:
  15. - CGO_ENABLED=0
  16. goos:
  17. - aix
  18. - linux
  19. - freebsd
  20. - netbsd
  21. - windows
  22. - darwin
  23. goarch:
  24. - 386
  25. - amd64
  26. - arm
  27. - arm64
  28. - ppc64
  29. - ppc64le
  30. - mips64
  31. - mips64le
  32. goarm:
  33. - 7
  34. gobinary: garble
  35. -
  36. id: "s2d"
  37. binary: s2d
  38. main: ./s2/cmd/s2d/main.go
  39. flags:
  40. - -trimpath
  41. env:
  42. - CGO_ENABLED=0
  43. goos:
  44. - aix
  45. - linux
  46. - freebsd
  47. - netbsd
  48. - windows
  49. - darwin
  50. goarch:
  51. - 386
  52. - amd64
  53. - arm
  54. - arm64
  55. - ppc64
  56. - ppc64le
  57. - mips64
  58. - mips64le
  59. goarm:
  60. - 7
  61. gobinary: garble
  62. -
  63. id: "s2sx"
  64. binary: s2sx
  65. main: ./s2/cmd/_s2sx/main.go
  66. flags:
  67. - -modfile=s2sx.mod
  68. - -trimpath
  69. env:
  70. - CGO_ENABLED=0
  71. goos:
  72. - aix
  73. - linux
  74. - freebsd
  75. - netbsd
  76. - windows
  77. - darwin
  78. goarch:
  79. - 386
  80. - amd64
  81. - arm
  82. - arm64
  83. - ppc64
  84. - ppc64le
  85. - mips64
  86. - mips64le
  87. goarm:
  88. - 7
  89. gobinary: garble
  90. archives:
  91. -
  92. id: s2-binaries
  93. name_template: "s2-{{ .Os }}_{{ .Arch }}_{{ .Version }}"
  94. replacements:
  95. aix: AIX
  96. darwin: OSX
  97. linux: Linux
  98. windows: Windows
  99. 386: i386
  100. amd64: x86_64
  101. freebsd: FreeBSD
  102. netbsd: NetBSD
  103. format_overrides:
  104. - goos: windows
  105. format: zip
  106. files:
  107. - unpack/*
  108. - s2/LICENSE
  109. - s2/README.md
  110. checksum:
  111. name_template: 'checksums.txt'
  112. snapshot:
  113. name_template: "{{ .Tag }}-next"
  114. changelog:
  115. sort: asc
  116. filters:
  117. exclude:
  118. - '^doc:'
  119. - '^docs:'
  120. - '^test:'
  121. - '^tests:'
  122. - '^Update\sREADME.md'
  123. nfpms:
  124. -
  125. file_name_template: "s2_package_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
  126. vendor: Klaus Post
  127. homepage: https://github.com/klauspost/compress
  128. maintainer: Klaus Post <klauspost@gmail.com>
  129. description: S2 Compression Tool
  130. license: BSD 3-Clause
  131. formats:
  132. - deb
  133. - rpm
  134. replacements:
  135. darwin: Darwin
  136. linux: Linux
  137. freebsd: FreeBSD
  138. amd64: x86_64