summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsetup.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 4d0ded925..326d34e7a 100755
--- a/setup.py
+++ b/setup.py
@@ -130,7 +130,10 @@ def get_version_info():
GIT_REVISION = "Unknown"
if not ISRELEASED:
- FULLVERSION += '.dev0+' + GIT_REVISION[:7]
+ import time
+
+ time_stamp = time.strftime("%Y%m%d%H%M%S", time.localtime())
+ FULLVERSION += f'.dev0+{time_stamp}_{GIT_REVISION[:7]}'
return FULLVERSION, GIT_REVISION