mirror of
				https://github.com/Mibew/simple-icons.git
				synced 2025-10-31 10:31:06 +03:00 
			
		
		
		
	Fix the release body of GitHub releases created by publish.yml (#6071)
This commit is contained in:
		
							parent
							
								
									a95ad430a3
								
							
						
					
					
						commit
						2c11b6fc98
					
				
							
								
								
									
										3
									
								
								.github/workflows/publish.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/publish.yml
									
									
									
									
										vendored
									
									
								
							| @ -78,6 +78,9 @@ jobs: | |||||||
|           RELEASE_TITLE=$(echo "${{ steps.commit.outputs.git-message }}" | head -n 1) |           RELEASE_TITLE=$(echo "${{ steps.commit.outputs.git-message }}" | head -n 1) | ||||||
|           echo "::set-output name=title::$RELEASE_TITLE" |           echo "::set-output name=title::$RELEASE_TITLE" | ||||||
|           RELEASE_BODY=$(echo "${{ steps.commit.outputs.git-message }}" | tail -n $(expr $(echo "${{ steps.commit.outputs.git-message }}" | wc -l) - 1)) |           RELEASE_BODY=$(echo "${{ steps.commit.outputs.git-message }}" | tail -n $(expr $(echo "${{ steps.commit.outputs.git-message }}" | wc -l) - 1)) | ||||||
|  |           RELEASE_BODY="${RELEASE_BODY//'%'/'%25'}" | ||||||
|  |           RELEASE_BODY="${RELEASE_BODY//$'\n'/'%0A'}" | ||||||
|  |           RELEASE_BODY="${RELEASE_BODY//$'\r'/'%0D'}" | ||||||
|           echo "::set-output name=body::$RELEASE_BODY" |           echo "::set-output name=body::$RELEASE_BODY" | ||||||
|       - name: Get release version |       - name: Get release version | ||||||
|         id: get-version |         id: get-version | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user