[geany/geany-osx] a408fb: Automatically add arm64 extension to ARM bundles

Jiří Techet git-noreply at xxxxx
Sun Nov 7 12:18:40 UTC 2021


Branch:      refs/heads/master
Author:      Jiří Techet <techet at gmail.com>
Committer:   Jiří Techet <techet at gmail.com>
Date:        Sun, 07 Nov 2021 12:18:40 UTC
Commit:      a408fb2cbc549e800bd1e5143e0f6e5ba6eb4430
             https://github.com/geany/geany-osx/commit/a408fb2cbc549e800bd1e5143e0f6e5ba6eb4430

Log Message:
-----------
Automatically add arm64 extension to ARM bundles


Modified Paths:
--------------
    create_dmg.sh

Modified: create_dmg.sh
5 lines changed, 5 insertions(+), 0 deletions(-)
===================================================================
@@ -9,6 +9,11 @@ DMGNAME="geany-${VERSION}_osx.dmg"
 APPNAME="${NAME}.app"
 TMPDIR="tmp-out"
 
+ARCH=`uname -m`
+if [ "$ARCH" = "arm64" ]; then
+	DMGNAME="geany-${VERSION}_osx_arm64.dmg"
+fi
+
 mkdir "$TMPDIR"
 cp -R "$APPNAME" "$TMPDIR"
 



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list