mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-26 04:57:54 +00:00
Allow 2.x
This commit is contained in:
1 parent
fb22a01a08
commit
eb36100388
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 '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
|
||||
|
||||
Reference in new issue
Block a user