Embed git hash for the version revision
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
||||
import os
|
||||
|
||||
#version info of the library
|
||||
revision = svn_version = os.popen('svnversion').read()[:-1]
|
||||
#version info of the library, we use 5 chars from the git hash
|
||||
revision = os.popen('git describe --abbrev=5 --dirty --always').read()[:-1]
|
||||
|
||||
version_info = {
|
||||
'version_major': 1 ,
|
||||
|
||||
Reference in New Issue
Block a user