| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
version: 2 |
| 6 |
|
| 7 |
before: |
| 8 |
hooks: |
| 9 |
- asciidoctor -b manpage docs/man/man1/glzip.1.adoc |
| 10 |
|
| 11 |
builds: |
| 12 |
- main: ./cmd/glzip |
| 13 |
binary: glzip |
| 14 |
flags: |
| 15 |
- -trimpath |
| 16 |
ldflags: |
| 17 |
- -s -w |
| 18 |
env: |
| 19 |
- CGO_ENABLED=0 |
| 20 |
goos: |
| 21 |
- darwin |
| 22 |
- dragonfly |
| 23 |
- freebsd |
| 24 |
- linux |
| 25 |
- netbsd |
| 26 |
- openbsd |
| 27 |
- windows |
| 28 |
goarch: |
| 29 |
- amd64 |
| 30 |
- arm64 |
| 31 |
- ppc64le |
| 32 |
- riscv64 |
| 33 |
- s390x |
| 34 |
|
| 35 |
archives: |
| 36 |
- formats: [tar.zst] |
| 37 |
name_template: >- |
| 38 |
{{ .ProjectName }}_ |
| 39 |
{{- title .Os }}_ |
| 40 |
{{- if eq .Arch "amd64" }}x86_64 |
| 41 |
{{- else if eq .Arch "386" }}i386 |
| 42 |
{{- else }}{{ .Arch }}{{ end }} |
| 43 |
{{- if .Arm }}v{{ .Arm }}{{ end }} |
| 44 |
format_overrides: |
| 45 |
- goos: windows |
| 46 |
formats: [zip] |
| 47 |
files: |
| 48 |
- AUTHORS.adoc |
| 49 |
- CHANGELOG.adoc |
| 50 |
- CONTRIBUTING.adoc |
| 51 |
- docs/man/man1/glzip.1 |
| 52 |
- LICENSES/* |
| 53 |
- README.md |
| 54 |
|
| 55 |
checksum: |
| 56 |
name_template: "b2sums.txt" |
| 57 |
algorithm: blake2b |
| 58 |
|
| 59 |
changelog: |
| 60 |
sort: asc |
| 61 |
filters: |
| 62 |
exclude: |
| 63 |
- "^docs:" |
| 64 |
- "^test:" |