File tree Expand file tree Collapse file tree 1 file changed +22
-11
lines changed Expand file tree Collapse file tree 1 file changed +22
-11
lines changed Original file line number Diff line number Diff line change 1
1
builds :
2
2
- env :
3
- - CGO_ENABLED=0
3
+ - CGO_ENABLED=0
4
4
goos :
5
5
- darwin
6
6
- linux
@@ -13,15 +13,26 @@ archives:
13
13
386 : i386
14
14
amd64 : x86_64
15
15
format_overrides :
16
- - goos : windows
17
- format : zip
16
+ - goos : windows
17
+ - format : zip
18
+ name_template : ' {{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
18
19
checksum :
19
- name_template : ' checksums.txt'
20
- snapshot :
21
- name_template : " {{ .Tag }}-next"
20
+ name_template : ' {{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
21
+ algorithm : sha256
22
+ signs :
23
+ - artifacts : checksum
24
+ args :
25
+ # if you are using this in a GitHub action or some other automated pipeline, you
26
+ # need to pass the batch flag to indicate its not interactive.
27
+ - " --batch"
28
+ - " --local-user"
29
+ - " {{ .Env.GPG_FINGERPRINT }}" # set this environment variable for your signing key
30
+ - " --output"
31
+ - " ${signature}"
32
+ - " --detach-sign"
33
+ - " ${artifact}"
34
+ release :
35
+ # If you want to manually examine the release before its live, uncomment this line:
36
+ # draft: true
22
37
changelog :
23
- sort : asc
24
- filters :
25
- exclude :
26
- - ' ^docs:'
27
- - ' ^test:'
38
+ skip : true
You can’t perform that action at this time.
0 commit comments