🚸 添加发布工作流

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

1
.gitignore vendored
View File

@ -48,3 +48,4 @@ prompt.txt
# pdm
.pdm-python
dist

View File

@ -1,3 +1,5 @@
from git import Repo
from liteyuki.bot import (
LiteyukiBot,
get_bot,
@ -32,3 +34,5 @@ __all__ = [
"init_log",
"logger"
]
__version__ = f"6.3.5+g{Repo('.').head.commit.hexsha}"

View File

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