mirror of
https://github.com/anchore/syft.git
synced 2026-02-12 02:26:42 +01:00
use parent dir for notarization zip (#804)
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
parent
2c62651c82
commit
b78c90d018
5
.github/scripts/apple-signing/notarize.sh
vendored
5
.github/scripts/apple-signing/notarize.sh
vendored
@ -19,7 +19,10 @@ notarize() {
|
||||
|
||||
title "archiving release binary into ${archive_path}"
|
||||
|
||||
zip "${archive_path}" "${binary_path}"
|
||||
parent=$(dirname "$binary_path")
|
||||
(
|
||||
cd "${parent}" && zip "${archive_path}" "$(basename ${binary_path})"
|
||||
)
|
||||
|
||||
if [ ! -f "$archive_path" ]; then
|
||||
exit_with_error "cannot find payload for notarization: $archive_path"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user