projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b7fbf6
)
Try to fix OS X .dmg versioning with new scheme.
v2.13.8
author
Carl Hetherington
<cth@carlh.net>
Wed, 28 Mar 2018 08:41:40 +0000
(09:41 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 28 Mar 2018 08:41:40 +0000
(09:41 +0100)
platform/osx/make_dmg.sh
patch
|
blob
|
history
diff --git
a/platform/osx/make_dmg.sh
b/platform/osx/make_dmg.sh
index ba67b96ea541eb9e922b99d0e40e33a3a71cdf27..d6e462da8deb09788ba45adb3de588e2d06cb9b4 100644
(file)
--- 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