File tree Expand file tree Collapse file tree 1 file changed +29
-16
lines changed Expand file tree Collapse file tree 1 file changed +29
-16
lines changed Original file line number Diff line number Diff line change 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 ./...
4
7
builds :
5
- - binary : dnsmorph
8
+ - env :
9
+ - CGO_ENABLED=0
6
10
goos :
7
- - windows
8
11
- linux
12
+ - windows
9
13
goarch :
10
14
- amd64
11
15
- 386
12
16
- arm
13
17
- 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:'
You can’t perform that action at this time.
0 commit comments