Release Version 1.1.1

### Fixed

- Fixed `yaclog release -C -c` not committing changes to cargo.toml
This commit is contained in:
2022-08-14 17:39:12 -07:00
parent 32f20e677e
commit 465b818ca2
2 changed files with 10 additions and 0 deletions

View File

@ -265,6 +265,9 @@ def release(obj: Changelog, version_name, rel_seg, pre_seg, commit, cargo):
repo.index.add(obj.path)
if cargo:
repo.index.add("Cargo.toml")
tracked = len(repo.index.diff(repo.head.commit))
untracked = len(repo.index.diff(None))