Skip to content

Commit 455563d

Browse files
committed
ref -> branch
1 parent 74254de commit 455563d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

jupyter_releaser/changelog.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,9 +187,9 @@ def format(changelog):
187187
return re.sub(r"\n\n+$", r"\n", changelog)
188188

189189

190-
def check_entry(ref, repo, auth, changelog_path, resolve_backports, output):
190+
def check_entry(branch, repo, auth, changelog_path, resolve_backports, output):
191191
"""Check changelog entry"""
192-
ref = ref or util.get_branch()
192+
branch = branch or util.get_branch()
193193

194194
# Get the new version
195195
version = util.get_version()
@@ -211,7 +211,7 @@ def check_entry(ref, repo, auth, changelog_path, resolve_backports, output):
211211
repo = repo or util.get_repo()
212212

213213
raw_entry = get_version_entry(
214-
f"origin/{ref}",
214+
f"origin/{branch}",
215215
repo,
216216
version,
217217
auth=auth,

0 commit comments

Comments
 (0)