docs: changelog pasted into github release page
This commit is contained in:
		
							parent
							
								
									9365d38162
								
							
						
					
					
						commit
						28ff78d809
					
				
							
								
								
									
										4
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							@ -76,6 +76,7 @@ jobs:
 | 
				
			|||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          git config user.name github-actions
 | 
					          git config user.name github-actions
 | 
				
			||||||
          git config user.email github-actions@github.com
 | 
					          git config user.email github-actions@github.com
 | 
				
			||||||
 | 
					          git diff --minimal --output-indicator-new=' ' -U0 --no-indent-heuristic CHANGELOG.rst | grep "^ "| sed -e 's/`\(#[0-9]\+\) <.*_/\1/g' > gh-release.md
 | 
				
			||||||
          git add CHANGELOG.rst changelogs/changelog.yaml
 | 
					          git add CHANGELOG.rst changelogs/changelog.yaml
 | 
				
			||||||
          git commit -m "Update changelog for release ${{ steps.get_version.outputs.TAG_VERSION }}" || true
 | 
					          git commit -m "Update changelog for release ${{ steps.get_version.outputs.TAG_VERSION }}" || true
 | 
				
			||||||
          git push origin
 | 
					          git push origin
 | 
				
			||||||
@ -98,8 +99,9 @@ jobs:
 | 
				
			|||||||
        env:
 | 
					        env:
 | 
				
			||||||
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 | 
					          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
 | 
					          tag_name: ${{ steps.get_version.outputs.TAG_VERSION }}
 | 
				
			||||||
          files: "*.tar.gz"
 | 
					          files: "*.tar.gz"
 | 
				
			||||||
          body: "Release v${{ steps.get_version.outputs.TAG_VERSION }}"
 | 
					          body_path: gh-release.md
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  dispatch:
 | 
					  dispatch:
 | 
				
			||||||
    needs: release
 | 
					    needs: release
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user