-
-
Notifications
You must be signed in to change notification settings - Fork 269
Description
First of all I really like the simplicty of git-cliff, but I encountered an issue where I don't know, if we are using it correct or not. It sounds like a little bit like #29, but I'm not sure.
Description
In the project I'm working on we have a git-flow like branching model at the moment. We created from develop the version v1.0.0 and merged these changes to master. Afterwards we continued our work on v1.1.0 on develop in the meanwhile, but later an urgent issue for v1.0.0 occured and we had to create an hotfix v1.0.1.
We created an branch hotfix/1.0.1 from master and merged these changes back to master and develop, but on develop the work continued and after the merge of hotfix/1.0.1 into develop the changelog now combines the changes from the hotfix with the unreleased changes on develop.
Actual Output
* 1473da8 (HEAD -> develop) Merge branch 'hotfix/1.0.1' into develop
|\
| * 6134a57 (tag: v1.0.1, master, hotfix/1.0.1) fix: v1.0.1
* | 5ce33a7 chore: start work on v1.1.0
|/
* a6915e6 (tag: v1.0.0) feat: v1.0.0
The corresponding changelog looks like this:
# Changelog
All notable changes to this project will be documented in this file.
## [1.0.1] - 2021-12-01
### Bug Fixes
- v1.0.1
### Miscellaneous Tasks
- Start work on v1.1.0
## [1.0.0] - 2021-11-01
### Features
- v1.0.0
Expected Output
# Changelog
All notable changes to this project will be documented in this file.
## [unreleased]
### Miscellaneous Tasks
- Start work on v1.1.0
## [1.0.1] - 2021-12-01
### Bug Fixes
- v1.0.1
## [1.0.0] - 2021-11-01
### Features
- v1.0.0
Question
How can we prevent that the hotfix changes an the unreleased changes are combined by their commit date?