Skip to content

Commit

Permalink
Better error handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
vd2org committed Mar 3, 2024
1 parent 516fee6 commit c4a6777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ubump/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ def bump(action: Action, version: Optional[str] = None, dry: bool = False):
logger.info(f"The new version is {config.str_version}...")

logger.info(f"Updating files...")
Tools.update_files(config, old_str_version, dry=True, silent=dry)
Tools.update_files(config, old_str_version, dry=True, silent=not dry)

if not dry:
Tools.update_files(config, old_str_version)
Expand Down

0 comments on commit c4a6777

Please sign in to comment.