From b9fb8e4c6116426ebade3a10bc0574af631ffa27 Mon Sep 17 00:00:00 2001 From: Meghan Jones Date: Thu, 18 Nov 2021 22:09:17 -0500 Subject: [PATCH] Update place-release.sh (#6035) --- admin/place-release.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/admin/place-release.sh b/admin/place-release.sh index 493d9555d5b..d15062cb038 100755 --- a/admin/place-release.sh +++ b/admin/place-release.sh @@ -29,7 +29,7 @@ if [ ! -d cmake ]; then fi # 1. Get the version string -Version=$(src/gmt --version) +Version=$(build/src/gmt --version) # 2. Build the release.sh script cat << EOF > /tmp/release.sh #!/bin/bash @@ -39,6 +39,10 @@ if [ -f gmt-${Version}-darwin-x86_64.dmg ]; then cp -f gmt-${Version}-darwin-x86_64.dmg ../gmt/bin chmod og+r ../gmt/bin/gmt-${Version}-darwin-x86_64.dmg fi +if [ -f gmt-${Version}-darwin-arm64.dmg ]; then + cp -f gmt-${Version}-darwin-arm64.dmg ../gmt/bin + chmod og+r ../gmt/bin/gmt-${Version}-darwin-arm64.dmg +fi # Place Windows 32-bit installer with read and execute permissions if [ -f gmt-${Version}-win32.exe ]; then cp -f gmt-${Version}-win32.exe ../gmt/bin