You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(P.S. you can also specify a commit range for changelog generation: git cliff fb1afd9..05361bc)
So git-cliff does not have any idea about the previous release (commits), it only knows what was the previous tag name (v4.0.14) and the commit (fb1afd9).
29db41a will now set the previous release data (only the tag name and commit) thus solve your issue.
$ cargo run -- --latest --workspace ~/gh/git-mit/
## Changelog
### [v4.0.15](https://github.com/PurpleBooth/git-mit/compare/v4.0.14...v4.0.15) (2021-08-14)
[fb1afd9](fb1afd98c2c290fee748c89fde064667f49b8cda)...[05361bc](05361bc6e5512477c838542aee17c1c585750144)
### Build
- Versio update versions ([05361bc](05361bc6e5512477c838542aee17c1c585750144))
### Fix
- Update the changelog ([70bd7ff](70bd7ffe55857940e898f5b97b34b2f62acd1c8e))
Describe the bug
When using "latest" previous is not set.
To Reproduce
Steps to reproduce the behavior:
Notes: experienced on PurpleBooth/git-mit, it has the config as defined below.
Expected behavior
A clear and concise description of what you expected to happen.
I would expect previous to always be set, so we can correctly generate compare URLs for Github.
Screenshots/Logs
System (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: