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.
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
2023-02-20 15:55:20 +01:00
|
|
|
__title__ = "set_version"
|
|
|
|
__author__ = "Sven Heidemann"
|
|
|
|
__license__ = "MIT"
|
|
|
|
__copyright__ = "Copyright (c) 2022 sh-edraft.de"
|
|
|
|
__version__ = "2022.12.0"
|
2022-05-25 19:07:29 +02:00
|
|
|
|
|
|
|
from collections import namedtuple
|
|
|
|
|
2022-07-10 18:08:44 +02:00
|
|
|
|
2023-02-20 15:55:20 +01:00
|
|
|
# imports:
|
2022-05-25 19:07:29 +02:00
|
|
|
|
2023-02-20 15:55:20 +01:00
|
|
|
VersionInfo = namedtuple("VersionInfo", "major minor micro")
|
|
|
|
version_info = VersionInfo(major="2022", minor="12", micro="0")
|