diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-03-28 09:41:40 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-03-28 09:41:40 +0100 |
| commit | c93fcb836c26d546521038eb8fb7b23072b88b2c (patch) | |
| tree | 927ee02c6f6fcb91a258a06e4b20f51eec126bb9 | |
| parent | 6b7fbf600fab54205fcd04102a5cb36b70509aea (diff) | |
Try to fix OS X .dmg versioning with new scheme.v2.13.8
| -rw-r--r-- | platform/osx/make_dmg.sh | 2 |
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 |
