2022-03-03 08:19:41 -05:00
|
|
|
# This is an example goreleaser.yaml file with some sane defaults.
|
|
|
|
# Make sure to check the documentation at http://goreleaser.com
|
|
|
|
before:
|
|
|
|
hooks:
|
|
|
|
- ./gen.sh
|
2023-10-24 08:30:59 -04:00
|
|
|
- go install mvdan.cc/garble@v0.10.1
|
2022-03-03 08:19:41 -05:00
|
|
|
|
|
|
|
builds:
|
|
|
|
-
|
|
|
|
id: "s2c"
|
|
|
|
binary: s2c
|
|
|
|
main: ./s2/cmd/s2c/main.go
|
|
|
|
flags:
|
|
|
|
- -trimpath
|
|
|
|
env:
|
|
|
|
- CGO_ENABLED=0
|
|
|
|
goos:
|
|
|
|
- aix
|
|
|
|
- linux
|
|
|
|
- freebsd
|
|
|
|
- netbsd
|
|
|
|
- windows
|
|
|
|
- darwin
|
|
|
|
goarch:
|
|
|
|
- 386
|
|
|
|
- amd64
|
|
|
|
- arm
|
|
|
|
- arm64
|
|
|
|
- ppc64
|
|
|
|
- ppc64le
|
|
|
|
- mips64
|
|
|
|
- mips64le
|
|
|
|
goarm:
|
|
|
|
- 7
|
|
|
|
gobinary: garble
|
|
|
|
-
|
|
|
|
id: "s2d"
|
|
|
|
binary: s2d
|
|
|
|
main: ./s2/cmd/s2d/main.go
|
|
|
|
flags:
|
|
|
|
- -trimpath
|
|
|
|
env:
|
|
|
|
- CGO_ENABLED=0
|
|
|
|
goos:
|
|
|
|
- aix
|
|
|
|
- linux
|
|
|
|
- freebsd
|
|
|
|
- netbsd
|
|
|
|
- windows
|
|
|
|
- darwin
|
|
|
|
goarch:
|
|
|
|
- 386
|
|
|
|
- amd64
|
|
|
|
- arm
|
|
|
|
- arm64
|
|
|
|
- ppc64
|
|
|
|
- ppc64le
|
|
|
|
- mips64
|
|
|
|
- mips64le
|
|
|
|
goarm:
|
|
|
|
- 7
|
|
|
|
gobinary: garble
|
|
|
|
-
|
|
|
|
id: "s2sx"
|
|
|
|
binary: s2sx
|
|
|
|
main: ./s2/cmd/_s2sx/main.go
|
|
|
|
flags:
|
|
|
|
- -modfile=s2sx.mod
|
|
|
|
- -trimpath
|
|
|
|
env:
|
|
|
|
- CGO_ENABLED=0
|
|
|
|
goos:
|
|
|
|
- aix
|
|
|
|
- linux
|
|
|
|
- freebsd
|
|
|
|
- netbsd
|
|
|
|
- windows
|
|
|
|
- darwin
|
|
|
|
goarch:
|
|
|
|
- 386
|
|
|
|
- amd64
|
|
|
|
- arm
|
|
|
|
- arm64
|
|
|
|
- ppc64
|
|
|
|
- ppc64le
|
|
|
|
- mips64
|
|
|
|
- mips64le
|
|
|
|
goarm:
|
|
|
|
- 7
|
|
|
|
gobinary: garble
|
|
|
|
|
|
|
|
archives:
|
|
|
|
-
|
|
|
|
id: s2-binaries
|
2023-10-24 08:30:59 -04:00
|
|
|
name_template: "s2-{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
|
2022-03-03 08:19:41 -05:00
|
|
|
format_overrides:
|
|
|
|
- goos: windows
|
|
|
|
format: zip
|
|
|
|
files:
|
|
|
|
- unpack/*
|
|
|
|
- s2/LICENSE
|
|
|
|
- s2/README.md
|
|
|
|
checksum:
|
|
|
|
name_template: 'checksums.txt'
|
|
|
|
snapshot:
|
|
|
|
name_template: "{{ .Tag }}-next"
|
|
|
|
changelog:
|
|
|
|
sort: asc
|
|
|
|
filters:
|
|
|
|
exclude:
|
|
|
|
- '^doc:'
|
|
|
|
- '^docs:'
|
|
|
|
- '^test:'
|
|
|
|
- '^tests:'
|
|
|
|
- '^Update\sREADME.md'
|
|
|
|
|
|
|
|
nfpms:
|
|
|
|
-
|
2023-10-24 08:30:59 -04:00
|
|
|
file_name_template: "s2_package__{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
|
2022-03-03 08:19:41 -05:00
|
|
|
vendor: Klaus Post
|
|
|
|
homepage: https://github.com/klauspost/compress
|
|
|
|
maintainer: Klaus Post <klauspost@gmail.com>
|
|
|
|
description: S2 Compression Tool
|
|
|
|
license: BSD 3-Clause
|
|
|
|
formats:
|
|
|
|
- deb
|
|
|
|
- rpm
|