forked from bot/app
22 lines
479 B
Python
22 lines
479 B
Python
# -*- 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
|
|
"""
|
|
from datetime import datetime
|
|
|
|
from pdm.backend.hooks.version import SCMVersion
|
|
|
|
__datetime__ = datetime.now().strftime("%Y%m%d%H%M%S")
|
|
|
|
__version__ = "6.3.5"
|
|
|
|
|
|
def format_version(version: SCMVersion) -> str:
|
|
return f"{__version__}.dev{__datetime__}"
|