Skip to content

Commit 075b6c6

Browse files
committed
Add goreleaser cfg
1 parent eaa896b commit 075b6c6

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.goreleaser.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# This is an example .goreleaser.yml file with some sensible defaults.
2+
# Make sure to check the documentation at https://goreleaser.com
3+
before:
4+
hooks:
5+
# You may remove this if you don't use go modules.
6+
- go mod tidy
7+
builds:
8+
- main: ./cmd/knot8
9+
env:
10+
- CGO_ENABLED=0
11+
targets:
12+
- linux_amd64
13+
- linux_arm64
14+
- darwin_amd64
15+
- darwin_arm64
16+
- windows_amd64
17+
- windows_arm64
18+
checksum:
19+
algorithm: sha256
20+
snapshot:
21+
name_template: "{{ incpatch .Version }}-next"
22+
changelog:
23+
sort: asc
24+
filters:
25+
exclude:
26+
- "^docs:"
27+
- "^test:"

0 commit comments

Comments
 (0)