mirror of
				https://github.com/continew-org/continew-starter.git
				synced 2025-10-31 10:57:15 +08:00 
			
		
		
		
	ci: 新增自动发版配置
This commit is contained in:
		
							
								
								
									
										23
									
								
								.github/workflows/release-tag.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								.github/workflows/release-tag.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| name: Release | ||||
|  | ||||
| on: | ||||
|   push: | ||||
|     tags: | ||||
|       - 'v*' # Push events to matching v*, i.e. v1.0.0 | ||||
|  | ||||
| jobs: | ||||
|   release: | ||||
|     if: github.repository == 'Charles7c/continew-starter' | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - name: Checkout | ||||
|         uses: actions/checkout@master | ||||
|       - name: Create Release for Tag | ||||
|         id: release_tag | ||||
|         uses: yyx990803/release-tag@master | ||||
|         env: | ||||
|           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||||
|         with: | ||||
|           tag_name: ${{ github.ref }} | ||||
|           body: | | ||||
|             详情请参阅 [CHANGELOG.md](https://github.com/${{ github.repository }}/blob/dev/CHANGELOG.md) 。 | ||||
		Reference in New Issue
	
	Block a user