Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes committed Nov 8, 2024
1 parent b3d52bc commit 740ad6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions git-cliff/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ fn process_repository<'a>(
tags.get_index(0).map(|tag| &tag.name),
) {
if tags.len() == 1 {
let tag2 = tags.get_commit(tag2).unwrap();
commit_range = Some(tag2.to_owned());
} else {
commit_range = Some(format!("{tag1}..{tag2}"));
Expand Down

0 comments on commit 740ad6e

Please sign in to comment.