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