From f37b469ab9151ddef74f7851b0cd78c2148d9257 Mon Sep 17 00:00:00 2001 From: snowy Date: Sun, 18 Aug 2024 04:05:33 +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 --- .github/workflows/pypi-publish.yml | 2 -- liteyuki/version.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 4b5b36a7..999ef3f2 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -13,9 +13,7 @@ jobs: name: upload release to PyPI runs-on: ubuntu-latest permissions: - # 这个权限是为了私有仓库。 contents: read - # 重要提示:这个权限对于可信发布是必需的。 id-token: write steps: - uses: actions/checkout@v3 diff --git a/liteyuki/version.py b/liteyuki/version.py index 2d77580f..bfdc73f1 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__}+{__commit__[:7]}" + return f"{__version__}.dev{__commit__[:7]}"