summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-03-28 09:41:40 +0100
committerCarl Hetherington <cth@carlh.net>2018-03-28 09:41:40 +0100
commitc93fcb836c26d546521038eb8fb7b23072b88b2c (patch)
tree927ee02c6f6fcb91a258a06e4b20f51eec126bb9 /platform
parent6b7fbf600fab54205fcd04102a5cb36b70509aea (diff)
Try to fix OS X .dmg versioning with new scheme.v2.13.8
Diffstat (limited to 'platform')
-rw-r--r--platform/osx/make_dmg.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/osx/make_dmg.sh b/platform/osx/make_dmg.sh
index ba67b96ea..d6e462da8 100644
--- a/platform/osx/make_dmg.sh
+++ b/platform/osx/make_dmg.sh
@@ -7,7 +7,7 @@
# Don't set -e here as egrep (used a few times) returns 1 if no matches
# were found.
-version=`cat wscript | egrep ^VERSION | awk '{print $3}' | sed -e "s/'//g"`
+version=`git describe --tags --abbrev=0`
# DMG size in megabytes
DMG_SIZE=256