Skip to content

Commit 7105ef4

Browse files
committed
Restored new_ver_tag for proper msg interpolating ↞ [auto-sync from https://github.com/KudoAI/ai-personas/tree/main/python]
1 parent fcde6b3 commit 7105ef4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ai-personas/utils/bump.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ def bump_pyproject_vers(pyproject, project, new_ver):
4040
log.success(msgs.log_BUMPED_PROJECT_VER.format(prev_ver=project.version, **locals()))
4141

4242
# Bump project.urls['Releases']
43-
changelog_url = f"{project.urls['Releases']}/tag/python-v{new_ver}"
43+
new_ver_tag = f'python-v{new_ver}'
44+
changelog_url = f"{project.urls['Releases']}/tag/python-v{new_ver_tag}"
4445
log.info(f'{msgs.log_UPDATING_CLOG_URL_IN} pyproject.toml...')
4546
pyproject['project']['urls']['Changelog'] = changelog_url
4647
toml.write(paths.pyproject, pyproject)

0 commit comments

Comments
 (0)