Skip to content

Commit 83fe0b7

Browse files
committed
interfaces: add goreleaser configuration
1 parent 5315a69 commit 83fe0b7

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+
archives:
2+
- replacements:
3+
amd64: x86_64
4+
darwin: Darwin
5+
linux: Linux
6+
windows: Windows
7+
before:
8+
hooks:
9+
- go mod download
10+
builds:
11+
- id: interfacer
12+
env:
13+
- CGO_ENABLED=0
14+
main: ./cmd/interfacer/main.go
15+
binary: interfacer
16+
- id: structer
17+
env:
18+
- CGO_ENABLED=0
19+
main: ./cmd/structer/main.go
20+
binary: structer
21+
changelog:
22+
filters:
23+
exclude:
24+
- '^docs:'
25+
- '^test:'
26+
sort: asc
27+
checksum:
28+
name_template: checksums.txt
29+
snapshot:
30+
name_template: '{{ .Tag }}-next'

0 commit comments

Comments
 (0)