Skip to content

Commit f2e10ee

Browse files
committed
More Cleanup
1 parent cbd3419 commit f2e10ee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

jupyter_releaser/changelog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def insert_entry(changelog, entry, version=None):
167167
changelog.index(START_MARKER) : changelog.index(END_MARKER) + len(END_MARKER)
168168
]
169169

170-
if f"# {version}" in prev_entry:
170+
if f"# {version}\n" in prev_entry:
171171
lines = new_entry.splitlines()
172172
old_lines = prev_entry.splitlines()
173173
for ind, line in enumerate(lines):

jupyter_releaser/lib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def draft_changelog(version_spec, branch, repo, since, auth, dry_run):
114114
| Version Spec | {version_spec} |
115115
"""
116116
if since:
117-
body += "| Since | {since} |"
117+
body += f"| Since | {since} |"
118118
util.log(body)
119119

120120
make_changelog_pr(auth, branch, repo, title, commit_message, body, dry_run=dry_run)

0 commit comments

Comments
 (0)