forked from bot/app
🚸 添加发布工作流
This commit is contained in:
parent
0a3363ebce
commit
f37b469ab9
2
.github/workflows/pypi-publish.yml
vendored
2
.github/workflows/pypi-publish.yml
vendored
@ -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
|
||||
|
@ -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]}"
|
||||
|
Loading…
Reference in New Issue
Block a user