2018-09-04 14:59:12 -05:00
|
|
|
NAME = 'openSUSE-release-tools'
|
2019-08-27 14:15:52 -05:00
|
|
|
|
|
|
|
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()
|