forked from bot/app
🚸 添加发布工作流
This commit is contained in:
parent
f37b469ab9
commit
e396db67ce
@ -20,4 +20,4 @@ __version__ = "6.3.5"
|
|||||||
|
|
||||||
|
|
||||||
def format_version(version: SCMVersion) -> str:
|
def format_version(version: SCMVersion) -> str:
|
||||||
return f"{__version__}.dev{__commit__[:7]}"
|
return f"{__version__}+{__commit__[:7]}"
|
||||||
|
@ -40,4 +40,6 @@ excludes = ["tests/", "docs/", "src/"]
|
|||||||
[tool.pdm.version]
|
[tool.pdm.version]
|
||||||
source = "scm"
|
source = "scm"
|
||||||
version_format = "liteyuki.version:format_version"
|
version_format = "liteyuki.version:format_version"
|
||||||
fallback_version = "6.0.0"
|
fallback_version = "6.0.0"
|
||||||
|
#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