1
0
forked from bot/app

🚸 添加发布工作流

This commit is contained in:
远野千束 2024-08-18 03:31:29 +08:00
parent d5b0f947e0
commit 4b4f030fe3
3 changed files with 19 additions and 14 deletions

3
.gitignore vendored
View File

@ -47,4 +47,5 @@ prompt.txt
# pdm # pdm
.pdm-python .pdm-python
dist

View File

@ -1,3 +1,5 @@
from git import Repo
from liteyuki.bot import ( from liteyuki.bot import (
LiteyukiBot, LiteyukiBot,
get_bot, get_bot,
@ -21,14 +23,16 @@ from liteyuki.log import (
) )
__all__ = [ __all__ = [
"LiteyukiBot", "LiteyukiBot",
"get_bot", "get_bot",
"get_config", "get_config",
"get_config_with_compat", "get_config_with_compat",
"Channel", "Channel",
"Event", "Event",
"load_plugin", "load_plugin",
"load_plugins", "load_plugins",
"init_log", "init_log",
"logger" "logger"
] ]
__version__ = f"6.3.5+g{Repo('.').head.commit.hexsha}"

View File

@ -4,7 +4,7 @@
# 此文件仅供 liteyuki 框架使用请勿用于应用程序及nb-cli请使用pip进行安装。 # 此文件仅供 liteyuki 框架使用请勿用于应用程序及nb-cli请使用pip进行安装。
[project] [project]
name = "liteyukibot" name = "liteyukibot"
version = "6.3.2" dynamic = ["version"]
description = "A lightweight bot process management framework and application." description = "A lightweight bot process management framework and application."
readme = "README.md" readme = "README.md"
requires-python = ">=3.10" requires-python = ">=3.10"
@ -33,4 +33,4 @@ requires = ["pdm-backend"]
build-backend = "pdm.backend" build-backend = "pdm.backend"
[tool.pdm] [tool.pdm]
includes = ["liteyuki"] packages = ["liteyuki"]