Skip to content

Commit d8373ae

Browse files
author
netevert
committed
fixed goreleaser config
1 parent 3a8648f commit d8373ae

File tree

1 file changed

+29
-16
lines changed

1 file changed

+29
-16
lines changed

.goreleaser.yml

Lines changed: 29 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,37 @@
1-
# .goreleaser.yml
2-
project_name: dnsmorph
3-
# Build customization
1+
before:
2+
hooks:
3+
# You may remove this if you don't use go modules.
4+
- go mod download
5+
# you may remove this if you don't need go generate
6+
- go generate ./...
47
builds:
5-
- binary: dnsmorph
8+
- env:
9+
- CGO_ENABLED=0
610
goos:
7-
- windows
811
- linux
12+
- windows
913
goarch:
1014
- amd64
1115
- 386
1216
- arm
1317
- arm64
14-
# Archive customization
15-
archive:
16-
format: tar.gz
17-
replacements:
18-
amd64: 64-bit
19-
386: 32-bit
20-
format_overrides:
21-
- goos: windows
22-
format: zip
23-
files:
24-
- data/GeoLite2-City.zip
18+
archives:
19+
-
20+
replacements:
21+
386: 32-bit
22+
amd64: 64-bit
23+
files:
24+
- data/*
25+
format_overrides:
26+
- goos: windows
27+
format: zip
28+
checksum:
29+
name_template: 'checksums.txt'
30+
snapshot:
31+
name_template: "{{ .Tag }}-next"
32+
changelog:
33+
sort: asc
34+
filters:
35+
exclude:
36+
- '^docs:'
37+
- '^test:'

0 commit comments

Comments
 (0)