File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ if [ ! -d cmake ]; then
2929fi
3030
3131# 1. Get the version string
32- Version=$( src/gmt --version)
32+ Version=$( build/ src/gmt --version)
3333# 2. Build the release.sh script
3434cat << EOF > /tmp/release.sh
3535#!/bin/bash
@@ -39,6 +39,10 @@ if [ -f gmt-${Version}-darwin-x86_64.dmg ]; then
3939 cp -f gmt-${Version} -darwin-x86_64.dmg ../gmt/bin
4040 chmod og+r ../gmt/bin/gmt-${Version} -darwin-x86_64.dmg
4141fi
42+ if [ -f gmt-${Version} -darwin-arm64.dmg ]; then
43+ cp -f gmt-${Version} -darwin-arm64.dmg ../gmt/bin
44+ chmod og+r ../gmt/bin/gmt-${Version} -darwin-arm64.dmg
45+ fi
4246# Place Windows 32-bit installer with read and execute permissions
4347if [ -f gmt-${Version} -win32.exe ]; then
4448 cp -f gmt-${Version} -win32.exe ../gmt/bin
You can’t perform that action at this time.
0 commit comments