Commit 3e115c7b authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

Remove commit id from vcs_version

parent 511816ea
......@@ -57,7 +57,7 @@ def vcs_version():
Package version based on `git describe`, compatible with setuptools
version format
return vcs_info()[3].lstrip('v')
return "-".join(vcs_info()[3].lstrip('v').split("-")[:-1])
def update_version(module, name='version', root="."):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment