From d4aa1bf86e419f4c0f78a9f6438ed1ec12eb4595 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kr=C3=A6n=20Hansen?= Date: Thu, 26 Sep 2024 11:09:56 +0200 Subject: [PATCH] List attributes --- .evergreen/functions.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.evergreen/functions.yml b/.evergreen/functions.yml index bf77d055ee8..e3618926933 100644 --- a/.evergreen/functions.yml +++ b/.evergreen/functions.yml @@ -549,6 +549,14 @@ functions: # Check the app bundle size. npm run --workspace mongodb-compass check-bundled-app-size + COMPASS_ARCHIVE_PATH="packages/compass/dist/${app_archive_name}" + + if [[ "$IS_OSX" == "true" ]]; then + echo "Printing information related to quarantine" + xattr -l $COMPASS_ARCHIVE_PATH + mdls $COMPASS_ARCHIVE_PATH + fi + if [[ "$IS_WINDOWS" == "true" ]]; then COMPASS_OUTDIR="$COMPASS_APP_PATH_ORIGINAL" else @@ -563,10 +571,10 @@ functions: echo "Unpacking ${app_archive_name} to $COMPASS_OUTDIR ..." # Unpack the app archive - if [[ "${app_archive_name}" == *.zip ]]; then - unzip "packages/compass/dist/${app_archive_name}" -d "$COMPASS_OUTDIR" + if [[ $COMPASS_ARCHIVE_PATH == *.zip ]]; then + unzip $COMPASS_ARCHIVE_PATH -d "$COMPASS_OUTDIR" else - tar -xzf "packages/compass/dist/${app_archive_name}" -C "$COMPASS_OUTDIR" + tar -xzf $COMPASS_ARCHIVE_PATH -C "$COMPASS_OUTDIR" fi # Print folder content to confirm that it worked