diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-01-18 11:01:35 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-01-18 11:02:09 +0100 |
| commit | abb650d854ee215a1be1746701482abae7871924 (patch) | |
| tree | 218a45e54fdeb830b0150642f307d5c1b507ff09 | |
| parent | 90e83a781e5672a9a7ad4b9219cab3518f9c46d8 (diff) | |
Fix incorrect git command when getting the version with an exact tag.
| -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 80205822a..bad257d78 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 $1 2> /dev/null) +version=$(git describe --tags --abbrev=0 --match=v2.*.* --exact-match 2> /dev/null) if [ "$?" != "0" ]; then # Otherwise use <branch>-<commit> version="$(basename $(git name-rev --name-only HEAD))-$(git rev-parse --short HEAD)" |
