2022-02-18 17:15:48 +01:00

17 lines
334 B
Python

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()