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