Revision d9300506
b/snf-common/synnefo/util/version.py | ||
---|---|---|
57 | 57 |
Package version based on `git describe`, compatible with setuptools |
58 | 58 |
version format |
59 | 59 |
""" |
60 |
return vcs_info()[3].lstrip('v')
|
|
60 |
return "-".join(vcs_info()[3].lstrip('v').split("-")[:-1])
|
|
61 | 61 |
|
62 | 62 |
|
63 | 63 |
def update_version(module, name='version', root="."): |
Also available in: Unified diff