Skip to content

Commit f35ad28

Browse files
[tbump] Upgrade the bump script in preparation of 2.14 maintenance
1 parent 65b0ae4 commit f35ad28

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

script/bump_changelog.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@
1616
from datetime import datetime
1717
from pathlib import Path
1818

19-
# TODO: 2.14.0 Upgrade bump script
20-
DEFAULT_CHANGELOG_PATH = Path("ChangeLog")
19+
# TODO: 2.15.0 Modify the way we handle the patch version
20+
# release notes
21+
DEFAULT_CHANGELOG_PATH = Path("doc/whatsnew/2/2.14/full.rst")
2122

2223
RELEASE_DATE_TEXT = "Release date: TBA"
2324
WHATS_NEW_TEXT = "What's New in Pylint"
@@ -93,7 +94,7 @@ def get_whats_new(
9394
version: str, add_date: bool = False, change_date: bool = False
9495
) -> str:
9596
whats_new_text = FULL_WHATS_NEW_TEXT.format(version=version)
96-
result = [whats_new_text, "=" * len(whats_new_text)]
97+
result = [whats_new_text, "-" * len(whats_new_text)]
9798
if add_date and change_date:
9899
result += [NEW_RELEASE_DATE_MESSAGE]
99100
elif add_date:

0 commit comments

Comments
 (0)