Skip to content

Commit 2d2ee5e

Browse files
committed
print info message if bump version is not required
1 parent 5883719 commit 2d2ee5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nf_core/pipelines/bump_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ def update_text_file(fn: Path, patterns: List[Tuple[str, str]], required: bool):
289289
updated = True
290290
log.info(f"Updated version in '{fn}'")
291291
log.debug(f"Replaced pattern '{pattern}' with '{replacement}' {count} times")
292-
elif required:
292+
else:
293293
handle_error(f"Could not find version number in {fn}: `{pattern}`", required)
294294

295295
if updated:

0 commit comments

Comments
 (0)