We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e542ac commit 31317b0Copy full SHA for 31317b0
noxfile.py
@@ -337,13 +337,12 @@ def tag(session: Session) -> None:
337
338
changelog_file = ROOT / "docs" / "source" / "about" / "changelog.rst"
339
for line in changelog_file.read_text().splitlines():
340
- if line == version:
+ if line == f"v{version}":
341
session.log(f"Found changelog section for version {version}")
342
break
343
else:
344
session.error(
345
- f"No changelog entry for {version} in {changelog_file} - "
346
- f"make sure you have a title section called {version}."
+ f"Something went wrong - could not find a title section for {version}"
347
)
348
349
if session.interactive:
0 commit comments