Allow 2.x

This commit is contained in:
Kornel Lesiński committed 2016-11-12 17:14:56 +00:00
1 parent fb22a01a08
commit eb36100388
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 '1.*')
gitversion=$(cd "$SRCROOT" ; git describe --tags --match '[12].*')
if [ -z "$gitversion" ] ; then
echo "$0: Can't find a Git hash!" 1>&2
exit 0