File tree Expand file tree Collapse file tree 1 file changed +31
-15
lines changed Expand file tree Collapse file tree 1 file changed +31
-15
lines changed Original file line number Diff line number Diff line change
1
+ builds :
1
2
- env :
2
- - CGO_ENABLED=0
3
+ - CGO_ENABLED=0
3
4
goos :
4
- - darwin
5
- - linux
6
5
- windows
6
+ - linux
7
+ - darwin
8
+ goarch :
9
+ - amd64
10
+ - ' 386'
11
+ - arm
12
+ - arm64
13
+ ignore :
14
+ - goos : darwin
15
+ goarch : ' 386'
16
+ binary : ' {{ .ProjectName }}_v{{ .Version }}'
7
17
archives :
8
- - replacements :
9
- darwin : Darwin
10
- linux : Linux
11
- windows : Windows
12
- 386 : i386
13
- amd64 : x86_64
14
- format_overrides :
15
- - goos : windows
16
- format : zip
18
+ - format : zip
19
+ name_template : ' {{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
17
20
checksum :
18
- name_template : ' checksums.txt'
19
- snapshot :
20
- name_template : " {{ .Tag }}-next"
21
+ name_template : ' {{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
22
+ algorithm : sha256
23
+ signs :
24
+ - artifacts : checksum
25
+ args :
26
+ # if you are using this in a GitHub action or some other automated pipeline, you
27
+ # need to pass the batch flag to indicate its not interactive.
28
+ - " --batch"
29
+ - " --local-user"
30
+ - " ${GPG_FINGERPRINT}"
31
+ - " --output"
32
+ - " ${signature}"
33
+ - " --detach-sign"
34
+ - " ${artifact}"
35
+ release :
36
+ # draft: true
21
37
changelog :
22
38
sort : asc
23
39
filters :
You can’t perform that action at this time.
0 commit comments