Skip to content

Commit b9fb8e4

Browse files
author
Meghan Jones
authored
Update place-release.sh (#6035)
1 parent 9a0bd38 commit b9fb8e4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

admin/place-release.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ if [ ! -d cmake ]; then
2929
fi
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
3434
cat << 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
4141
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
4246
# Place Windows 32-bit installer with read and execute permissions
4347
if [ -f gmt-${Version}-win32.exe ]; then
4448
cp -f gmt-${Version}-win32.exe ../gmt/bin

0 commit comments

Comments
 (0)