diff --git a/VERSION.txt b/VERSION.txt index d237f43..3c80ead 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -3.4.16 +3.4.17 diff --git a/commit_helper/utils/flag_commit_handler.py b/commit_helper/utils/flag_commit_handler.py index f0a5a9c..368793f 100644 --- a/commit_helper/utils/flag_commit_handler.py +++ b/commit_helper/utils/flag_commit_handler.py @@ -12,6 +12,7 @@ def convention_flag_handler(args, debug_mode): convention = str(args.convention) debug('convention flag', convention, debug_mode) + commit_message = '' if convention == 'message': if args.message is not '': diff --git a/commit_helper/utils/utils.py b/commit_helper/utils/utils.py index ac40391..4952652 100644 --- a/commit_helper/utils/utils.py +++ b/commit_helper/utils/utils.py @@ -91,6 +91,7 @@ def validate_commiter_file(stream_file): # pragma: no cover def handle_conventioned_commit(convention, args): tag, message = handle_tag_message_args(args.tag, args.message) + commit_message = '' if convention == 'angular' or convention == 'karma': context = handle_context_arg(args.context)