From e396db67ce3963b6576d9f692d2b3eaa8479a003 Mon Sep 17 00:00:00 2001 From: snowy Date: Sun, 18 Aug 2024 04:15:09 +0800 Subject: [PATCH] =?UTF-8?q?:children=5Fcrossing:=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=8F=91=E5=B8=83=E5=B7=A5=E4=BD=9C=E6=B5=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- liteyuki/version.py | 2 +- pyproject.toml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/liteyuki/version.py b/liteyuki/version.py index bfdc73f1..2d77580f 100644 --- a/liteyuki/version.py +++ b/liteyuki/version.py @@ -20,4 +20,4 @@ __version__ = "6.3.5" def format_version(version: SCMVersion) -> str: - return f"{__version__}.dev{__commit__[:7]}" + return f"{__version__}+{__commit__[:7]}" diff --git a/pyproject.toml b/pyproject.toml index 00a01904..a754290e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,4 +40,6 @@ excludes = ["tests/", "docs/", "src/"] [tool.pdm.version] source = "scm" version_format = "liteyuki.version:format_version" -fallback_version = "6.0.0" \ No newline at end of file +fallback_version = "6.0.0" +#tag_filter = "test/*" +#tag_regex = '^test/(?:\D*)?(?P([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]*))?$)$' \ No newline at end of file