Skip to content

Commit

Permalink
add binary to checksum file
Browse files Browse the repository at this point in the history
  • Loading branch information
capnspacehook committed Oct 23, 2022
1 parent ce65808 commit efb8ae9
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
project_name: goreleaser-test

env:
- COSIGN_EXPERIMENTAL=true

Expand All @@ -11,7 +9,8 @@ gomod:
proxy: true

builds:
- binary: goreleaser-test
- id: binary
binary: goreleaser-test
env:
- CGO_ENABLED=0
goos:
Expand All @@ -26,10 +25,14 @@ builds:
- -s -w -X "main.version={{ .Tag }}"

archives:
- name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
- id: archive
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"

checksum:
name_template: "checksums.txt"
ids:
- binary
- archive

signs:
- cmd: cosign
Expand Down

0 comments on commit efb8ae9

Please # to comment.