mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-26 03:35:03 +08:00
🚸 添加发布工作流
This commit is contained in:
parent
9d27abfe04
commit
5f5dcc7f99
@ -1,5 +1,3 @@
|
||||
from git import Repo
|
||||
|
||||
from liteyuki.bot import (
|
||||
LiteyukiBot,
|
||||
get_bot,
|
||||
@ -22,6 +20,7 @@ from liteyuki.log import (
|
||||
logger
|
||||
)
|
||||
|
||||
|
||||
__all__ = [
|
||||
"LiteyukiBot",
|
||||
"get_bot",
|
||||
@ -32,7 +31,7 @@ __all__ = [
|
||||
"load_plugin",
|
||||
"load_plugins",
|
||||
"init_log",
|
||||
"logger"
|
||||
"logger",
|
||||
]
|
||||
|
||||
__version__ = f"6.3.5+g{Repo('.').head.commit.hexsha}"
|
||||
|
||||
|
@ -34,4 +34,9 @@ build-backend = "pdm.backend"
|
||||
|
||||
[tool.pdm.build]
|
||||
includes = ["liteyuki/", "LICENSE", "README.md"]
|
||||
excludes = ["tests/", "docs/", "src/"]
|
||||
excludes = ["tests/", "docs/", "src/"]
|
||||
|
||||
[tool.pdm.version]
|
||||
source = "scm"
|
||||
tag_filter = "test/*"
|
||||
tag_regex = '^test/(?:\D*)?(?P<version>([1-9][0-9]*!)?(0|[1-9][0-9]*)(\.(0|[1-9][0-9]*))*((a|b|c|rc)(0|[1-9][0-9]*))?(\.post(0|[1-9][0-9]*))?(\.dev(0|[1-9][0-9]*))?$)$'
|
Loading…
Reference in New Issue
Block a user