Skip to content

Commit

Permalink
fix rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
c4urself committed Aug 25, 2019
1 parent 5c2fccf commit 535da18
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Makefile
Expand Up @@ -2,6 +2,9 @@ test:
docker-compose build test
docker-compose run test

local_test:
PYTHONPATH=. py.test tests/

lint:
pip install pylint
pylint bumpversion
Expand Down
6 changes: 3 additions & 3 deletions bumpversion/cli.py
Expand Up @@ -115,7 +115,7 @@ def main(original_args=None):

# commit and tag
if vcs:
context = _commit_to_vcs(files, context, config_file, config_file_exists, vcs, args)
context = _commit_to_vcs(files, context, config_file, config_file_exists, vcs, args, current_version, new_version)
_tag_in_vcs(vcs, context, args)


Expand Down Expand Up @@ -653,8 +653,8 @@ def _commit_to_vcs(files, context, config_file, config_file_exists, vcs, args, c
vcs.add_path(path)

context = {
"current_version": current_version,
"new_version": new_version,
"current_version": args.current_version,
"new_version": args.new_version,
}
context.update(time_context)
context.update(prefixed_environ())
Expand Down

0 comments on commit 535da18

Please sign in to comment.