mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 16:33:21 +01:00
update sign sed command to include windows zip (#755)
Signed-off-by: Christopher Phillips <christopher.phillips@anchore.com>
This commit is contained in:
parent
aebe843c6f
commit
c350bd55f6
@ -52,9 +52,6 @@ builds:
|
|||||||
archives:
|
archives:
|
||||||
- name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
|
- name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
|
||||||
id: syft
|
id: syft
|
||||||
replacements:
|
|
||||||
windows: Windows
|
|
||||||
amd64: x86_64
|
|
||||||
format_overrides:
|
format_overrides:
|
||||||
- goos: windows
|
- goos: windows
|
||||||
format: zip
|
format: zip
|
||||||
@ -71,7 +68,7 @@ signs:
|
|||||||
- '-c'
|
- '-c'
|
||||||
# we should not include the zip artifact, as the artifact is mutated throughout the next macOS notarization step
|
# we should not include the zip artifact, as the artifact is mutated throughout the next macOS notarization step
|
||||||
# note: sed -i is not portable
|
# 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
|
- id: syft-macos-signing
|
||||||
ids:
|
ids:
|
||||||
- syft-macos
|
- syft-macos
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user