From a2fa2e4d3d58c409436ff5312679d852e4b14447 Mon Sep 17 00:00:00 2001 From: Radoslav Dimitrov Date: Fri, 30 Jan 2026 11:32:12 +0200 Subject: [PATCH] Update goreleaser Signed-off-by: Radoslav Dimitrov --- .goreleaser.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 8f55982..782f09b 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -27,11 +27,11 @@ builds: main: ./main.go # This section defines the release format. archives: - - format: tar.gz # we can use binary, but it seems there's an issue where goreleaser skips the sboms + - formats: [tar.gz] # we can use binary, but it seems there's an issue where goreleaser skips the sboms name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" format_overrides: - goos: windows - format: zip + formats: [zip] # This section defines how to release to winget. # winget: # - name: frizbee @@ -85,10 +85,9 @@ signs: - cmd: cosign args: - "sign-blob" - - "--output-signature=${signature}" - - "--output-certificate=${certificate}" + - "--bundle=${signature}" # cosign v3+: bundles signature and certificate together - "${artifact}" - "--yes" # needed on cosign 2.0.0+ artifacts: archive output: true - certificate: '{{ trimsuffix (trimsuffix .Env.artifact ".zip") ".tar.gz" }}.pem' + signature: "${artifact}.sigstore.json"