From: Carl Hetherington Date: Tue, 18 Jan 2022 13:04:33 +0000 (+0100) Subject: Remove v that snuck into DMG filenames. X-Git-Tag: checked-for-v2.16.x~56 X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=19572e1ac1334a8f024b0b429d8622c0a198fb37 Remove v that snuck into DMG filenames. --- 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 # 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 - version="$(basename $(git name-rev --name-only HEAD))-$(git rev-parse --short HEAD)"