Merge pull request #928 from sparkle-project/script

Fix #926
This commit is contained in:
Kornel authored and GitHub committed 2016-12-03 00:05:09 +00:00
commit 91ac90ffcf
1 file changed
+1 -1
+1 -1
View File
@@ -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