Skip to content

--latest flag actually uses the timestamp of the commit on tag #1325

@mapleeit

Description

@mapleeit

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

--latest flag actually uses the timestamp of the commit on tag instead of using createtime of the tag.

Steps To Reproduce

https://github.com/orhun/git-cliff/blob/main/git-cliff-core/src/repo.rs#L514

Expected behavior

use createtime of tags when using --latest flag

Screenshots / Logs

No response

Software information

  • Operating system:
  • Rust version:
  • Project version:

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions