File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
1
[bumpversion]
2
- current_version = 1.1.4
2
+ current_version = 1.1.5
3
3
commit = True
4
4
tag = False
5
5
Original file line number Diff line number Diff line change @@ -227,7 +227,10 @@ def main() -> None:
227
227
logger .debug (f"Commit message already has icon '{ icon } '." )
228
228
break
229
229
230
- if icon_present or commit_msg .__contains__ ("Bump version:" ):
230
+ if commit_msg .__contains__ ("Bump version:" ):
231
+ logger .debug ("Commit message with icon is valid." )
232
+ sys .exit (0 ) # Valid commit message with icon; proceed
233
+ elif icon_present :
231
234
# Validate the commit message without the icon
232
235
if not validate_commit_message (commit_msg_without_icon ):
233
236
logger .error ("Commit message validation failed after removing icon. Aborting commit." )
Original file line number Diff line number Diff line change 1
1
[tool .poetry ]
2
2
name = " scripts"
3
- version = " 1.1.4 "
3
+ version = " 1.1.5 "
4
4
description = " CICD Core Scripts"
5
5
authors = [
" B <[email protected] >" ]
6
6
license = " Apache 2.0"
You can’t perform that action at this time.
0 commit comments