Skip to content

Commit

Permalink
Merge pull request #31 from JonasScharpf/bugfix/handover-logger
Browse files Browse the repository at this point in the history
  • Loading branch information
brainelectronics authored Nov 14, 2024
2 parents bd1b643 + 22d5f00 commit c39ecba
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .snippets/30.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
## Handover logger to RenderVersionFile
<!--
type: bugfix
scope: all
affected: all
-->

Handover logger of `update_version` to `RenderVersionFile` to avoid the creation and usage of the `RenderVersionFile` logger which does not respect the logging level settings of `update_version`
2 changes: 1 addition & 1 deletion src/changelog2version/update_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ def main():
semver_string = version_extractor.parse_semver_line(
release_version_line=version_line)

file_renderer = RenderVersionFile()
file_renderer = RenderVersionFile(logger=logger)
semver_data = version_extractor.semver_data
additional_data = ""
if additional_version_info:
Expand Down

0 comments on commit c39ecba

Please sign in to comment.