diff --git a/CHANGELOG.md b/CHANGELOG.md index b268bac..f721273 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file +## Version 1.1.1 - 2022-08-15 + +### Fixed + +- Fixed `yaclog release -C -c` not committing changes to cargo.toml + + ## Version 1.1.0 - 2022-08-14 ### Added diff --git a/yaclog/cli/__main__.py b/yaclog/cli/__main__.py index 11d0d26..ec804ad 100644 --- a/yaclog/cli/__main__.py +++ b/yaclog/cli/__main__.py @@ -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))