fix: maybe check the message of the current commit instead
This commit is contained in:
parent
30341b45ff
commit
4631ae09b2
1 changed files with 1 additions and 0 deletions
|
@ -136,6 +136,7 @@ impl VersionCommand {
|
|||
}
|
||||
|
||||
// Parse the message to see if we need to modify the bump.
|
||||
let commit = repo.find_commit(oid)?;
|
||||
let message = commit.message().unwrap_or("");
|
||||
let conv = ConventionalCommit::from_str(message)?;
|
||||
let commit_bump = self.get_version_bump(&conv);
|
||||
|
|
Loading…
Reference in a new issue