sh_cpl/tools/set_version/__init__.py

27 lines
574 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
2022-05-25 19:59:38 +02:00
:copyright: (c) 2022 sh-edraft.de
2022-05-25 19:07:29 +02:00
:license: MIT, see LICENSE for more details.
"""
2022-12-01 12:17:26 +01:00
__title__ = 'set_version'
2022-05-25 19:07:29 +02:00
__author__ = 'Sven Heidemann'
__license__ = 'MIT'
2022-05-25 19:59:38 +02:00
__copyright__ = 'Copyright (c) 2022 sh-edraft.de'
2022-07-16 16:07:39 +02:00
__version__ = '2022.7.0'
2022-05-25 19:07:29 +02:00
from collections import namedtuple
2022-07-10 18:08:44 +02:00
# imports:
2022-05-25 19:07:29 +02:00
VersionInfo = namedtuple('VersionInfo', 'major minor micro')
2022-07-16 16:07:39 +02:00
version_info = VersionInfo(major='2022', minor='7', micro='0')