Skip to content

Commit

Permalink
List attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
kraenhansen committed Sep 26, 2024
1 parent db27832 commit d4aa1bf
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .evergreen/functions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit d4aa1bf

Please sign in to comment.