sh_cpl/tools/set_version/__init__.py

26 lines
587 B
Python
Raw Normal View History

2022-05-25 19:07:29 +02:00
# -*- coding: utf-8 -*-
"""
set-version CPL internal tool to set version from branch name
~~~~~~~~~~~~~~~~~~~
CPL internal tool to set version from branch name
:copyright: (c) 2020 - 2022 sh-edraft.de
:license: MIT, see LICENSE for more details.
"""
__title__ = 'set_version'
__author__ = 'Sven Heidemann'
__license__ = 'MIT'
__copyright__ = 'Copyright (c) 2020 - 2022 sh-edraft.de'
2022-05-25 19:38:38 +02:00
__version__ = '2022.6.0'
2022-05-25 19:07:29 +02:00
from collections import namedtuple
# imports:
2022-05-25 19:07:29 +02:00
VersionInfo = namedtuple('VersionInfo', 'major minor micro')
2022-05-25 19:38:38 +02:00
version_info = VersionInfo(major='2022', minor='6', micro='0')