mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-14 13:47:24 +08:00
🚸 添加发布工作流
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]}"
|
||||||
|
@ -41,3 +41,5 @@ excludes = ["tests/", "docs/", "src/"]
|
|||||||
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