Skip to content

Commit 40779be

Browse files
authored
Merge pull request #35 from praw-dev/LilSpazJoekp-patch-1
Update set_version.py
2 parents eb89024 + 01be93e commit 40779be

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tools/set_version.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
CHANGELOG_HEADER = "Change Log\n==========\n\n"
99
UNRELEASED_HEADER = "Unreleased\n----------\n\n"
10-
MESSAGE = "asyncprawcore follows `semantic versioning <http://semver.org/>`_ with the exception\nthat deprecations will not be announced by a minor release.\n\n"
1110

1211

1312
def add_unreleased_to_changelog():
@@ -72,7 +71,7 @@ def update_changelog(version):
7271
with open("CHANGES.rst") as fp:
7372
content = fp.read()
7473

75-
expected_header = f"{CHANGELOG_HEADER}{MESSAGE}{UNRELEASED_HEADER}"
74+
expected_header = f"{CHANGELOG_HEADER}{UNRELEASED_HEADER}"
7675
if not content.startswith(expected_header):
7776
sys.stderr.write("CHANGES.rst does not contain Unreleased header.\n")
7877
return False

0 commit comments

Comments
 (0)