File tree Expand file tree Collapse file tree 1 file changed +24
-13
lines changed Expand file tree Collapse file tree 1 file changed +24
-13
lines changed Original file line number Diff line number Diff line change 1
- # Build customization
1
+ version : 2
2
+
3
+ env :
4
+ - CGO_ENABLED=0
5
+
2
6
builds :
3
- -
7
+ - id : subber
4
8
main : ./cmd/subber/subber.go
5
9
binary : subber
6
10
goos :
7
- - windows
11
+ - linux
8
12
- darwin
13
+ - windows
9
14
goarch :
10
15
- 386
11
16
- amd64
12
17
ignore :
13
18
- goos : darwin
14
19
goarch : 386
15
- # Archive customization
20
+
16
21
archives :
17
- - id : tgz
18
- format : tar.gz
22
+ - id : all
19
23
format_overrides :
20
24
- goos : windows
21
25
format : zip
22
- replacements :
23
- amd64 : 64-bit
24
- 386 : 32-bit
25
- darwin : macOS
26
- files :
27
- - README.md
28
- - LICENSE
26
+ name_template : >-
27
+ {{- .ProjectName }}_
28
+ {{- title .Os }}_
29
+ {{- if eq .Arch "amd64" }}x86_64
30
+ {{- else if eq .Arch "386" }}i386
31
+ {{- else }}{{ .Arch }}{{ end }}
32
+ {{- if .Arm }}v{{ .Arm }}{{ end -}}
33
+
34
+ checksum :
35
+ name_template : ' checksums.txt'
36
+ snapshot :
37
+ name_template : " {{ .Tag }}"
38
+ changelog :
39
+ sort : asc
You can’t perform that action at this time.
0 commit comments