Update bump_version script for the changelog updates

This commit is contained in:
Joe Rickerby
2021-09-14 09:12:27 +01:00
parent 604a1b5a33
commit 12ecb7fa4f
+19
View File
@@ -136,6 +136,25 @@ def bump_version() -> None:
while input('Type "done" to continue: ').strip().lower() != "done":
pass
# run pre-commit to update the README changelog
subprocess.run(
[
"pre-commit",
"run",
"--files=docs/changelog.md",
]
)
# run pre-commit to check that no errors occurred on the second run
subprocess.run(
[
"pre-commit",
"run",
"--files=docs/changelog.md",
],
check=True,
)
subprocess.run(
[
"git",