mirror of
				https://github.com/zigzap/zap.git
				synced 2025-10-21 23:54:08 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			32 lines
		
	
	
	
		
			722 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
	
		
			722 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| name: Check out git annotated tag stuff
 | |
| 
 | |
| 
 | |
| on:
 | |
|   workflow_dispatch:
 | |
| 
 | |
| jobs:
 | |
|   build:
 | |
|     runs-on: ubuntu-latest
 | |
|     permissions: 
 | |
|       id-token: write
 | |
|       contents: write
 | |
| 
 | |
|     steps:
 | |
|     - name: Checkout code
 | |
|       uses: actions/checkout@v2
 | |
|       with:
 | |
|         ref: ${{ github.ref }}
 | |
| 
 | |
|     - name: Set tag name
 | |
|       id: tag
 | |
|       run: |
 | |
|         echo "::set-output name=version::${GITHUB_REF#refs/tags/}"
 | |
| 
 | |
|     - name: Generate release notes
 | |
|       id: release_notes
 | |
|       run: |
 | |
|         echo "${{ steps.tag.outputs.version }}"
 | |
|         git tag -l --format='%(contents)' "${{ steps.tag.outputs.version }}"
 | |
|         tools/announceybot.exe release-notes "${{ steps.tag.outputs.version }}" > relnotes.md
 | |
|         cat relnotes.md
 | |
| 
 | 
