mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	Chore: fix changelog script (#8022)
This commit is contained in:
		
							
								
								
									
										4
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							@@ -655,7 +655,9 @@ jobs:
 | 
				
			|||||||
          git checkout ${{ needs.publish-release.outputs.version }}-changelog
 | 
					          git checkout ${{ needs.publish-release.outputs.version }}-changelog
 | 
				
			||||||
          echo -e "# Changelog\n\n${{ needs.publish-release.outputs.changelog }}\n" > changelog-new.md
 | 
					          echo -e "# Changelog\n\n${{ needs.publish-release.outputs.changelog }}\n" > changelog-new.md
 | 
				
			||||||
          echo "Manually linking usernames"
 | 
					          echo "Manually linking usernames"
 | 
				
			||||||
          sed -i -r 's|@(.+?) \(\[#|[@\1](https://github.com/\1) ([#|ig' changelog-new.md
 | 
					          sed -i -r 's|@([a-zA-Z0-9_]+) \(\[#|[@\1](https://github.com/\1) ([#|g' changelog-new.md
 | 
				
			||||||
 | 
					          echo "Removing unneeded comment tags"
 | 
				
			||||||
 | 
					          sed -i -r 's|@<!---->|@|g' changelog-new.md
 | 
				
			||||||
          CURRENT_CHANGELOG=`tail --lines +2 changelog.md`
 | 
					          CURRENT_CHANGELOG=`tail --lines +2 changelog.md`
 | 
				
			||||||
          echo -e "$CURRENT_CHANGELOG" >> changelog-new.md
 | 
					          echo -e "$CURRENT_CHANGELOG" >> changelog-new.md
 | 
				
			||||||
          mv changelog-new.md changelog.md
 | 
					          mv changelog-new.md changelog.md
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user