Package: htslib / 1.11-4

no_git_version Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Author: Michael R. Crusoe <michael.crusoe@gmail.com>
Description: Don't check git tags for versioning
--- a/version.sh
+++ b/version.sh
@@ -27,11 +27,11 @@
 VERSION=1.11
 
 # If we have a git clone, then check against the current tag
-if [ -e .git ]
-then
-    # If we ever get to 10.x this will need to be more liberal
-    VERSION=`git describe --match '[0-9].[0-9]*' --dirty`
-fi
+# if [ -e .git ]
+# then
+#     # If we ever get to 10.x this will need to be more liberal
+#     VERSION=`git describe --match '[0-9].[0-9]*' --dirty`
+# fi
 
 # Numeric version is for use in .dylib or .so libraries
 #