mirror of
				https://github.com/LiteyukiStudio/LiteyukiBot.git
				synced 2025-10-30 17:56:23 +00:00 
			
		
		
		
	🚸 添加发布工作流
This commit is contained in:
		
							
								
								
									
										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]}" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user