mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	release: Add tests for spelling and links in changelog.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							23f4cde91c
						
					
				
				
					commit
					ad8041253c
				
			@@ -63,6 +63,10 @@ fi
 | 
			
		||||
# Check lint passes for the changelog
 | 
			
		||||
./tools/lint --skip gitlint docs/overview/changelog.md \
 | 
			
		||||
    || fail "Changelog does not pass lint"
 | 
			
		||||
./tools/test-documentation --skip-external-links \
 | 
			
		||||
    || fail "Changelog links do not validate"
 | 
			
		||||
./tools/run-codespell docs/overview/changelog.md \
 | 
			
		||||
    || fail "Changelog does not pass spellcheck"
 | 
			
		||||
 | 
			
		||||
# Check the date is correct for the release
 | 
			
		||||
release_line=$(grep -x -E -m 1 -o "### $version -- ([0-9-]+)" docs/overview/changelog.md) \
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user