Commits

Ville Suoranta authored 14510d1d824 Merge
Pull request #146: Add Macos12 to make-dmg

Merge in CASA/casa-pkg from CAS-13873 to master * commit '9c734bc4f97ec7552799bb8ec2526c111b29f7d6': Add Macos12 to make-dmg
No tags

packaging/scripts/make-dmg

Modified
8 8 app_path=$1
9 9 package_name=$2
10 10
11 11 if [ ! -e $app_path ]; then
12 12 echo "file $app_path not found..."
13 13 exit 1
14 14 fi
15 15
16 16 readonly OS_VERSION=$(uname -r | awk -F. '{print $1}')
17 17 case $OS_VERSION in
18 +"21")
19 + readonly OS_X_VERSION="12.0"
20 +;;
18 21 "20")
19 22 readonly OS_X_VERSION="11.0"
20 23 ;;
21 24 "19")
22 25 readonly OS_X_VERSION="10.15"
23 26 ;;
24 27 "18")
25 28 readonly OS_X_VERSION="10.14"
26 29 ;;
27 30 "17")

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut