| 1 |
Author: Michael R. Crusoe <[email protected]> |
| 2 |
Description: Don't check git tags for versioning |
| 3 |
Forwarded: not-needed |
| 4 |
--- a/version.sh |
| 5 |
+++ b/version.sh |
| 6 |
@@ -28,15 +28,15 @@ VERSION=1.14 |
| 7 |
|
| 8 |
# If we have a git clone, then check against the current tag |
| 9 |
srcdir=${0%/version.sh} |
| 10 |
-if [ -e $srcdir/.git ] |
| 11 |
-then |
| 12 |
- # If we ever get to 10.x this will need to be more liberal |
| 13 |
- v=`cd $srcdir && git describe --always --match '[0-9].[0-9]*' --dirty` |
| 14 |
- case $v in |
| 15 |
- [0-9]*.[0-9]*) VERSION="$v" ;; |
| 16 |
- [0-9a-f][0-9a-f]*) VERSION="$VERSION-1-g$v" ;; |
| 17 |
- esac |
| 18 |
-fi |
| 19 |
+#if [ -e $srcdir/.git ] |
| 20 |
+#then |
| 21 |
+# # If we ever get to 10.x this will need to be more liberal |
| 22 |
+# v=`cd $srcdir && git describe --always --match '[0-9].[0-9]*' --dirty` |
| 23 |
+# case $v in |
| 24 |
+# [0-9]*.[0-9]*) VERSION="$v" ;; |
| 25 |
+# [0-9a-f][0-9a-f]*) VERSION="$VERSION-1-g$v" ;; |
| 26 |
+# esac |
| 27 |
+#fi |
| 28 |
|
| 29 |
# Numeric version is for use in .dylib or .so libraries |
| 30 |
# |