Compare commits

...
1 Commits
Author SHA1 Message Date
Alex Goodman b78c90d018 use parent dir for notarization zip (#804)
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
2022-02-07 22:50:48 +00:00
+4 -1
View File
@@ -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"