Skip to content

Commit 0b555e9

Browse files
authored
Merge pull request #64 from andre-filho/hotfix-master
fix(hotfix): bug regarding atom convention
2 parents 7a2646a + cb92895 commit 0b555e9

File tree

5 files changed

+12
-9
lines changed

5 files changed

+12
-9
lines changed

VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.4.4
1+
3.4.5

commit_helper/utils/utils.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,17 +90,17 @@ def validate_commiter_file(stream_file): # pragma: no cover
9090

9191

9292
def handle_conventioned_commit(convention, args):
93-
tag, msg = handle_tag_message_args(args.tag, args.message)
93+
tag, message = handle_tag_message_args(args.tag, args.message)
9494

9595
if convention == 'angular' or convention == 'karma':
9696
context = handle_context_arg(args.context)
97-
commit_message = karma_angular_convention(tag, msg, context)
97+
commit_message = karma_angular_convention(tag, message, context)
9898

9999
elif convention == 'tagged':
100-
commit_message = tagged_convention(tag, msg)
100+
commit_message = tagged_convention(tag, message)
101101

102102
elif convention == 'symphony':
103-
commit_message = symphony_convention(tag, msg)
103+
commit_message = symphony_convention(tag, message)
104104

105105
elif convention == 'atom':
106106
commit_message = atom_convention(tag, message)

release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
python3 setup.py sdist bdist_wheel
44

55
if [ "$1" == "test" ]; then
6-
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
6+
twine upload --repository-url https://test.pypi.org/legacy/ dist/* --verbose
77
fi
88

99
if [ "$1" == "deploy" ]; then
10-
twine upload dist/*
10+
twine upload dist/* --verbose
1111
fi

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ pytest-cov==2.6.0
77
codeclimate-test-reporter==0.2.3
88
codacy-coverage==1.3.11
99
colored==1.3.93
10+
pytest-watch==4.2.0

test/test_utils.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1+
# dependencies imports
12
import yaml
3+
# utils imports
24
import commit_helper.utils.utils as utils
35
import commit_helper.utils.text_utils as text_utils
4-
6+
# color imports
7+
from commit_helper.utils.colors import HELP
58
from commit_helper.utils.colors import RESET
69
from commit_helper.utils.colors import DEBUG_COLOR
710
from commit_helper.utils.colors import NOTIFY_COLOR
8-
from commit_helper.utils.colors import HELP
911

1012

1113
def test_get_text():

0 commit comments

Comments
 (0)