release: Add tests for spelling and links in changelog.

This commit is contained in:
Alex Vandiver 2023-01-24 01:42:35 +00:00 committed by Tim Abbott
parent 23f4cde91c
commit ad8041253c
1 changed files with 4 additions and 0 deletions

View File

@ -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) \