This commit is contained in:
Kornel Lesiński committed 2016-12-02 21:10:37 +00:00
1 parent 9dec304f64
commit 8375922755
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