🚸 添加发布工作流

This commit is contained in:
远野千束 2024-08-18 04:15:09 +08:00
parent f37b469ab9
commit e396db67ce
2 changed files with 4 additions and 2 deletions

View File

@ -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]}"

View File

@ -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]*))?$)$'