mirror of
https://github.com/anchore/syft
synced 2024-11-10 06:14:16 +00: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
1 changed files with 4 additions and 1 deletions
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…
Reference in a new issue