Skip to content

Commit 5a9b10c

Browse files
committed
add goreleaser config
1 parent b4d192b commit 5a9b10c

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.goreleaser.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
builds:
2+
-
3+
env:
4+
- CGO_ENABLED=0
5+
ldflags:
6+
- -s -w -X main.version={{.Version}} -X main.commit={{.ShortCommit}} -X main.buildDate={{.Date}}
7+
8+
archives:
9+
- replacements:
10+
darwin: Darwin
11+
linux: Linux
12+
windows: Windows
13+
386: i386
14+
amd64: x86_64
15+
16+
checksum:
17+
name_template: 'checksums.txt'
18+
19+
snapshot:
20+
name_template: "{{ .Tag }}-next"
21+
22+
changelog:
23+
sort: asc
24+
filters:
25+
exclude:
26+
- '^docs:'
27+
- '^test:'
28+
- Merge pull request
29+
- Merge branch
30+

0 commit comments

Comments
 (0)