cic-stack/apps/cic-cache/cic_cache/version.py

19 lines
294 B
Python
Raw Normal View History

2021-02-18 06:04:30 +01:00
import os
import semver
version = (
0,
2,
1,
'alpha.1',
2021-02-18 06:04:30 +01:00
)
version_object = semver.VersionInfo(
major=version[0],
minor=version[1],
patch=version[2],
prerelease=version[3],
)
version_string = str(version_object)