I am working on git following gitflow (with feature branches and hotfix). Each commit is as follows " [ticket ID]: message "
With jenkins I would like to generate a changelog between 2 tags, but I don't know how to do this correctly.
If I do a git log TagFrom...TagTo
it seems to order the commits by creation date this causes problems. The list of commits does not match how the changes have been released. However, the bitbucket website does show them in the correct order.
I have also tried git-changelog-command-line plugins but it seems to have the same issue.
What would be the correct way to get the changes between two tags working with this branch model.
The git log --oneline
command seems to order them correctly.