mirror of
https://github.com/anchore/syft.git
synced 2026-11-03 16:06:36 +01:00
restore the checksum file during release
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
@@ -57,6 +57,13 @@ archives:
|
||||
- syft-macos
|
||||
|
||||
signs:
|
||||
- artifacts: checksum
|
||||
cmd: sh
|
||||
args:
|
||||
- '-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}'
|
||||
- id: syft-macos-signing
|
||||
ids:
|
||||
- syft-macos
|
||||
|
||||
Reference in New Issue
Block a user