From d3469801fc1e3eae117049064f751689c64bc8bc Mon Sep 17 00:00:00 2001 From: Alex Goodman Date: Fri, 4 Feb 2022 14:04:15 -0500 Subject: [PATCH] repackage all file in notarization temp dir (not from tar output) (#792) Signed-off-by: Alex Goodman --- .github/scripts/apple-signing/notarize.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/apple-signing/notarize.sh b/.github/scripts/apple-signing/notarize.sh index 25036d5e4..247f87016 100755 --- a/.github/scripts/apple-signing/notarize.sh +++ b/.github/scripts/apple-signing/notarize.sh @@ -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"