mirror of
https://github.com/anchore/syft.git
synced 2026-02-12 02:26:42 +01:00
repackage all file in notarization temp dir (not from tar output) (#792)
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
parent
3f50bb8fa7
commit
d3469801fc
2
.github/scripts/apple-signing/notarize.sh
vendored
2
.github/scripts/apple-signing/notarize.sh
vendored
@ -25,7 +25,7 @@ repackage() {
|
||||
tmp_dir=$(mktemp -d)
|
||||
cd "$tmp_dir"
|
||||
# redirect stdout to stderr to preserve the return value
|
||||
tar xzf "$archive" && zip "$new_archive" $(tar tf "$archive") 1>&2
|
||||
tar xzf "$archive" && zip "$new_archive" ./* 1>&2
|
||||
rm -rf "$tmp_dir"
|
||||
)
|
||||
echo "$new_archive"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user