1
0
forked from bot/app

🚸 添加发布工作流

This commit is contained in:
远野千束 2024-08-18 04:05:33 +08:00
parent 0a3363ebce
commit f37b469ab9
2 changed files with 1 additions and 3 deletions

View File

@ -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

View File

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