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
29
29
fi
30
30
31
31
# 1. Get the version string
32
- Version=$( src/gmt --version)
32
+ Version=$( build/ src/gmt --version)
33
33
# 2. Build the release.sh script
34
34
cat << EOF > /tmp/release.sh
35
35
#!/bin/bash
@@ -39,6 +39,10 @@ if [ -f gmt-${Version}-darwin-x86_64.dmg ]; then
39
39
cp -f gmt-${Version} -darwin-x86_64.dmg ../gmt/bin
40
40
chmod og+r ../gmt/bin/gmt-${Version} -darwin-x86_64.dmg
41
41
fi
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
42
46
# Place Windows 32-bit installer with read and execute permissions
43
47
if [ -f gmt-${Version} -win32.exe ]; then
44
48
cp -f gmt-${Version} -win32.exe ../gmt/bin
You can’t perform that action at this time.
0 commit comments