From 19572e1ac1334a8f024b0b429d8622c0a198fb37 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 18 Jan 2022 14:04:33 +0100 Subject: [PATCH] Remove v that snuck into DMG filenames. --- platform/osx/make_dmg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)" -- 2.30.2