16 lines
333 B
Python
Raw Normal View History

NAME = 'openSUSE-release-tools'
def version_calculate():
from os import path
if path.exists('.git'):
from osclib.git import describe
try:
return describe()
except FileNotFoundError:
pass # Fall through to final return.
return '0.0.0-dev'
VERSION = version_calculate()