From c350bd55f61d64786f05463f952be55c512c553c Mon Sep 17 00:00:00 2001 From: Christopher Angelo Phillips <32073428+spiffcs@users.noreply.github.com> Date: Wed, 19 Jan 2022 17:08:04 -0500 Subject: [PATCH] update sign sed command to include windows zip (#755) Signed-off-by: Christopher Phillips --- .goreleaser.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 76c38d61b..5c5ac6019 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -52,9 +52,6 @@ builds: archives: - name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' id: syft - replacements: - windows: Windows - amd64: x86_64 format_overrides: - goos: windows format: zip @@ -71,7 +68,7 @@ signs: - '-c' # we should not include the zip artifact, as the artifact is mutated throughout the next macOS notarization step # note: sed -i is not portable - - 'sed "/.*\.zip/d" ${artifact} > tmpfile && mv tmpfile ${artifact} && gpg --output ${signature} --detach-sign ${artifact}' + - 'sed "/.*_darwin_.*\.zip/d" ${artifact} > tmpfile && mv tmpfile ${artifact} && gpg --output ${signature} --detach-sign ${artifact}' - id: syft-macos-signing ids: - syft-macos