Skip to content

Commit efb8ae9

Browse files
committed
add binary to checksum file
1 parent ce65808 commit efb8ae9

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.goreleaser.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
project_name: goreleaser-test
2-
31
env:
42
- COSIGN_EXPERIMENTAL=true
53

@@ -11,7 +9,8 @@ gomod:
119
proxy: true
1210

1311
builds:
14-
- binary: goreleaser-test
12+
- id: binary
13+
binary: goreleaser-test
1514
env:
1615
- CGO_ENABLED=0
1716
goos:
@@ -26,10 +25,14 @@ builds:
2625
- -s -w -X "main.version={{ .Tag }}"
2726

2827
archives:
29-
- name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
28+
- id: archive
29+
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
3030

3131
checksum:
3232
name_template: "checksums.txt"
33+
ids:
34+
- binary
35+
- archive
3336

3437
signs:
3538
- cmd: cosign

0 commit comments

Comments
 (0)