mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-02-07 15:26:11 +08:00
更新pyproject.toml,修改tag_regex以支持开发版本号,并添加fallback_version配置
This commit is contained in:
parent
cf96ab3ffe
commit
b0d6f87134
@ -52,7 +52,8 @@ profile = "black"
|
||||
[tool.pdm.version]
|
||||
source = "scm"
|
||||
tag_filter = "v*"
|
||||
tag_regex = '^v(?:\D*)?(?P<version>([1-9][0-9]*!)?(0|[1-9][0-9]*)(\.(0|[1-9][0-9]*))*((a|b|c|rc|dev)(0|[1-9][0-9]*))?(\.post(0|[1-9][0-9]*))?)$'
|
||||
tag_regex = '^v(?:\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]*))?$)$'
|
||||
fallback_version = "0.1.0"
|
||||
|
||||
[tool.pdm.build]
|
||||
includes = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user