From: Carl Hetherington Date: Tue, 18 Jan 2022 13:04:33 +0000 (+0100) Subject: Remove v that snuck into DMG filenames. X-Git-Tag: v2.15.186 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=dcc053a35520b01a8d9d09ac29a89906cfbb676e 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)"