Skip to content

Commit 1c10eae

Browse files
committed
enable goreleaser
1 parent 94af5f8 commit 1c10eae

File tree

1 file changed

+63
-0
lines changed

1 file changed

+63
-0
lines changed

.goreleaser.yml

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
# This is an example goreleaser.yaml file with some sane defaults.
2+
# Make sure to check the documentation at http://goreleaser.com
3+
before:
4+
hooks:
5+
# you may remove this if you don't use vgo
6+
- go mod tidy
7+
# you may remove this if you don't need go generate
8+
- go generate ./...
9+
builds:
10+
- env:
11+
- CGO_ENABLED=0
12+
goos:
13+
- linux
14+
- darwin
15+
- windows
16+
goarch:
17+
- amd64
18+
- 386
19+
- arm
20+
- arm64
21+
goarm:
22+
- 6
23+
- 7
24+
gomips:
25+
- hardfloat
26+
- softfloat
27+
ignore:
28+
- goos: darwin
29+
goarch: 386
30+
- goos: darwin
31+
goarch: arm
32+
- goos: darwin
33+
goarch: arm64
34+
- goos: windows
35+
goarch: arm
36+
- goos: windows
37+
goarch: arm
38+
- goos: windows
39+
goarch: arm64
40+
archives:
41+
- replacements:
42+
darwin: Darwin
43+
linux: Linux
44+
windows: Windows
45+
386: i386
46+
amd64: x86_64
47+
files:
48+
- LICENSE
49+
- README.md
50+
- dist/CHANGELOG.md
51+
- docs/*
52+
- templates/**/*
53+
checksum:
54+
name_template: "sha256_checksums.txt"
55+
algorithm: sha256
56+
snapshot:
57+
name_template: "{{ .Tag }}-next"
58+
changelog:
59+
sort: asc
60+
filters:
61+
exclude:
62+
- "^docs:"
63+
- "^test:"

0 commit comments

Comments
 (0)