Skip to content

Commit

Permalink
again update goreleaser to binary
Browse files Browse the repository at this point in the history
Signed-off-by: Vivek Kumar Sahu <vivekkumarsahu650@gmail.com>
  • Loading branch information
viveksahu26 committed Feb 10, 2024
1 parent 591addf commit d0172fb
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ before:
- go generate ./...

sboms:
- artifacts: binary
- artifacts: archive

builds:
- id: linux-amd64-{{ .Arch }}
Expand Down Expand Up @@ -58,12 +58,13 @@ builds:


archives:
# - format: binary
# name_template: "{{ .Binary }}"
# allow_different_binary_count: true
- format: tar.gz
name_template: "{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}"
- format: binary
name_template: "{{ .Binary }}"
allow_different_binary_count: true

# - format: tar.gz
# name_template: "{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}"
# allow_different_binary_count: true

checksum:
name_template: "{{ .ProjectName }}_checksums.txt"
Expand Down

0 comments on commit d0172fb

Please sign in to comment.