more vcs integration

This commit is contained in:
Manuel Barkhau 2018-11-11 15:15:14 +01:00
parent fc937ddf8d
commit 181da8c930
3 changed files with 24 additions and 9 deletions

View file

@ -240,4 +240,11 @@ def bump(
if dry or not cfg.commit:
return
# TODO (mb 2018-09-04): add files and commit
for filepath in filepaths:
_vcs.add(filepath)
_vcs.commit(f"bump version to {new_version}")
if cfg.tag:
_vcs.tag(new_version)
_vcs.push()