mirror of
				https://github.com/miaowware/qrm2.git
				synced 2025-10-31 11:20:19 -04:00 
			
		
		
		
	
							parent
							
								
									7c818cfb34
								
							
						
					
					
						commit
						0f0c3bf723
					
				
							
								
								
									
										25
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										25
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							| @ -25,19 +25,23 @@ jobs: | |||||||
|           SUBJECT=$(/usr/bin/git tag -l ${GITHUB_REF#refs/tags/} --format='%(subject)') |           SUBJECT=$(/usr/bin/git tag -l ${GITHUB_REF#refs/tags/} --format='%(subject)') | ||||||
|           BODY=$(/usr/bin/git tag -l ${GITHUB_REF#refs/tags/} --format='%(body)' | sed '/-----BEGIN PGP SIGNATURE-----/,$d') |           BODY=$(/usr/bin/git tag -l ${GITHUB_REF#refs/tags/} --format='%(body)' | sed '/-----BEGIN PGP SIGNATURE-----/,$d') | ||||||
| 
 | 
 | ||||||
|           echo SUBJECT=$SUBJECT |           echo "SUBJECT=$SUBJECT" | ||||||
|           echo BODY=$BODY |           echo "BODY=$BODY" | ||||||
| 
 | 
 | ||||||
|           echo ::set-output name=subject::${SUBJECT} |           echo 'tag_subject<<EOS' >> $GITHUB_ENV | ||||||
|           echo ::set-output name=body::${BODY} |           echo "$SUBJECT" >> $GITHUB_ENV | ||||||
|           echo ::set-output name=version_tag::${GITHUB_REF#refs/tags/} |           echo 'EOS' >> $GITHUB_ENV | ||||||
|           echo ::set-output name=version::${GITHUB_REF#refs/tags/v} |           echo 'tag_body<<EOB' >> $GITHUB_ENV | ||||||
|  |           echo "$BODY" >> $GITHUB_ENV | ||||||
|  |           echo 'EOB' >> $GITHUB_ENV | ||||||
|  |           echo "tag_version=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV | ||||||
|  |           echo "version_num=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV | ||||||
| 
 | 
 | ||||||
|       - name: Get Changelog Content |       - name: Get Changelog Content | ||||||
|         id: changelog_reader |         id: changelog_reader | ||||||
|         uses: mindsers/changelog-reader-action@v2 |         uses: mindsers/changelog-reader-action@v2 | ||||||
|         with: |         with: | ||||||
|           version: ${{ steps.get_tag.outputs.version }} |           version: ${{ env.version_num }} | ||||||
|           path: ./CHANGELOG.md |           path: ./CHANGELOG.md | ||||||
| 
 | 
 | ||||||
|       - name: Publish Release |       - name: Publish Release | ||||||
| @ -46,14 +50,13 @@ jobs: | |||||||
|         env: |         env: | ||||||
|           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||||||
|         with: |         with: | ||||||
|           tag_name: ${{ steps.get_tag.outputs.version_tag }} |           tag_name: ${{ env.tag_version }} | ||||||
|           release_name: ${{ steps.get_tag.outputs.subject }} |           release_name: ${{ env.tag_subject }} | ||||||
|           body: | |           body: | | ||||||
|             ${{ steps.get_tag.outputs.body }} |             ${{ env.tag_body }} | ||||||
| 
 | 
 | ||||||
|             ## Changelog |             ## Changelog | ||||||
| 
 | 
 | ||||||
|             ${{ steps.changelog_reader.outputs.changes }} |             ${{ steps.changelog_reader.outputs.changes }} | ||||||
|           draft: false |           draft: false | ||||||
|           prerelease: false |           prerelease: false | ||||||
| 
 |  | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user