Skip to content

Commit

Permalink
Merge pull request #2244 from SCIInstitute/fix_mac_action
Browse files Browse the repository at this point in the history
Set platform name in packaging for two different mac architectures
  • Loading branch information
akenmorris committed May 2, 2024
2 parents bb1b785 + 80e7cfb commit bcb7f6c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Support/package.sh
Expand Up @@ -14,7 +14,11 @@ INSTALL_DEP_DIR=$3
ROOT=`pwd`

if [[ "$OSTYPE" == "darwin"* ]]; then
PLATFORM="mac"
if [[ "$(uname -m)" == "arm64" ]]; then
PLATFORM="mac-arm64"
else
PLATFORM="mac-intel"
fi
else
PLATFORM="linux"
fi
Expand Down

0 comments on commit bcb7f6c

Please sign in to comment.