mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-26 04:57:54 +00:00
Fix #926
This commit is contained in:
1 parent
9dec304f64
commit
8375922755
1 file changed
+1
-1
@@ -16,7 +16,7 @@ fi
|
||||
version="$CURRENT_PROJECT_VERSION"
|
||||
|
||||
# Get version in format 1.x.x-commits-hash
|
||||
gitversion=$(cd "$SRCROOT" ; git describe --tags --match '[12].*')
|
||||
gitversion=$( cd "$SRCROOT"; git describe --tags --match '[12].*' || true )
|
||||
if [ -z "$gitversion" ] ; then
|
||||
echo "$0: Can't find a Git hash!" 1>&2
|
||||
exit 0
|
||||
|
||||
Reference in new issue
Block a user