summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-01-18 14:04:33 +0100
committerCarl Hetherington <cth@carlh.net>2022-01-18 14:04:50 +0100
commit19572e1ac1334a8f024b0b429d8622c0a198fb37 (patch)
tree79b9306fae9e9d7e543525b468218d01e6765d51 /platform
parent9888f8d43d37ab831eba8fc20031033991fef23a (diff)
Remove v that snuck into DMG filenames.
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 bad257d78..faf42e635 100644
--- a/platform/osx/make_dmg.sh
+++ b/platform/osx/make_dmg.sh
@@ -8,7 +8,7 @@ SYNTAX="make_dmg.sh <environment> <builddir> <apple-id> <apple-password> <arch1>
# were found.
# Use a tag if what we've built is exactly on one
-version=$(git describe --tags --abbrev=0 --match=v2.*.* --exact-match 2> /dev/null)
+version=$(git describe --tags --abbrev=0 --match=v2.*.* --exact-match 2> /dev/null | sed -e "s/^v//")
if [ "$?" != "0" ]; then
# Otherwise use <branch>-<commit>
version="$(basename $(git name-rev --name-only HEAD))-$(git rev-parse --short HEAD)"