diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-01-18 14:04:33 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-01-18 14:04:33 +0100 |
| commit | dcc053a35520b01a8d9d09ac29a89906cfbb676e (patch) | |
| tree | d6c7a106f743fb99595f7a278819533627254185 /platform/osx | |
| parent | e39b03a7ba6e47c4cbd44d11c601f5f9e52afb65 (diff) | |
Remove v that snuck into DMG filenames.v2.15.186
Diffstat (limited to 'platform/osx')
| -rw-r--r-- | platform/osx/make_dmg.sh | 2 |
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)" |
