Skip to content

Commit c28d34a

Browse files
committed
add goreleaser
1 parent bfda45e commit c28d34a

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.goreleaser.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Make sure to check the documentation at http://goreleaser.com
2+
project_name: lw
3+
before:
4+
hooks:
5+
- go mod verify
6+
builds:
7+
- env:
8+
- CGO_ENABLED=0
9+
goos:
10+
- windows
11+
- linux
12+
- darwin
13+
archives:
14+
- replacements:
15+
darwin: Darwin
16+
linux: Linux
17+
windows: Windows
18+
amd64: x86_64
19+
checksum:
20+
name_template: 'checksums.txt'
21+
snapshot:
22+
name_template: "{{ .Tag }}"
23+
changelog:
24+
sort: asc
25+
filters:
26+
exclude:
27+
- '^docs:'
28+
- '^test:'

0 commit comments

Comments
 (0)