We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1deef89 commit a5dca4cCopy full SHA for a5dca4c
bumpversion/utils.py
@@ -75,7 +75,7 @@ def get_context(
75
) -> ChainMap:
76
"""Return the context for rendering messages and tags."""
77
ctx = base_context(config.scm_info)
78
- ctx.new_child({"current_version": config.current_version})
+ ctx = ctx.new_child({"current_version": config.current_version})
79
if current_version:
80
ctx = ctx.new_child({f"current_{part}": current_version[part].value for part in current_version})
81
if new_version:
0 commit comments