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:01:35 +0100 |
| commit | e7a6f50726f62710c82107d7a6e77aa752517171 (patch) | |
| tree | db51eade93d2c5ae3c01cf376769803d3766f95f | |
| parent | 72218f61297458b142e5a2397b01e482d2097270 (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)" |
