2024-08-18 03:57:15 +08:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
"""
|
|
|
|
Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved
|
|
|
|
|
|
|
|
@Time : 2024/8/18 上午3:49
|
|
|
|
@Author : snowykami
|
|
|
|
@Email : snowykami@outlook.com
|
|
|
|
@File : version.py.py
|
|
|
|
@Software: PyCharm
|
|
|
|
"""
|
2024-08-18 04:22:03 +08:00
|
|
|
from datetime import datetime
|
|
|
|
|
2024-08-18 03:57:15 +08:00
|
|
|
from pdm.backend.hooks.version import SCMVersion
|
|
|
|
|
2024-08-18 04:22:55 +08:00
|
|
|
__datetime__ = datetime.now().strftime("%Y%m%d%H%M%S")
|
2024-08-18 03:57:15 +08:00
|
|
|
|
2024-08-18 21:29:19 +08:00
|
|
|
__version__ = "6.3.6"
|
2024-08-18 03:57:15 +08:00
|
|
|
|
|
|
|
|
|
|
|
def format_version(version: SCMVersion) -> str:
|
2024-08-18 04:22:03 +08:00
|
|
|
return f"{__version__}.dev{__datetime__}"
|