mirror of
https://github.com/alerta/alerta.git
synced 2025-01-24 17:29:39 +00:00
12 lines
No EOL
313 B
Python
12 lines
No EOL
313 B
Python
VERSION = (2, 0, 0, 'alpha', 1)
|
|
|
|
|
|
def get_version():
|
|
version = '%s.%s' % (VERSION[0], VERSION[1])
|
|
if VERSION[2]:
|
|
version = '%s.%s' % (version, VERSION[2])
|
|
if VERSION[3] != 'final':
|
|
version = '%s %s %s' % (version, VERSION[3], VERSION[4])
|
|
return version
|
|
|
|
__version__ = get_version() |