-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
53 lines (47 loc) · 849 Bytes
/
.goreleaser.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# SPDX-FileCopyrightText: 2024 Shun Sakai
#
# SPDX-License-Identifier: Apache-2.0 OR MIT
version: 1
before:
hooks:
- go mod tidy
- asciidoctor -b manpage docs/man/man1/glzip.1.adoc
builds:
- main: ./cmd/glzip
binary: glzip
flags:
- -trimpath
ldflags:
- -s -w
env:
- CGO_ENABLED=0
goos:
- darwin
- freebsd
- linux
- openbsd
- windows
goarch:
- amd64
- arm64
archives:
- format: tar.zst
# use zip for windows archives
format_overrides:
- goos: windows
format: zip
files:
- AUTHORS.adoc
- CHANGELOG.adoc
- CONTRIBUTING.adoc
- docs/man/man1/glzip.1
- LICENSES/*
- README.md
checksum:
algorithm: sha3-512
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"