Incorrect gitchangelog format
krupis opened this issue · comments
Krupis commented
Hello. I have already created an issue here: sarnold#12
The issue explains that I cannot get the right formatting using the gitchangelog on my Gitlab repository.
I would like to get some help regarding formating gitchangelog as shown in the example. I have followed commit structure as in the examples:
but gitchangelog
does not seem to parse this correctly as it does not seperate the changes
and new
as shown in the example below:
The output when I run git log
command:
PS C:\Users\petrikas.lu\Desktop\WORK\gitchangelog-test\my_project> git log
WARNING: terminal is not fully functional
commit badc6a7d81844f05f04ba8827c45dc237515238e (HEAD -> main, tag: v1.0.0, origin/main)
Merge: c2571fc 6cd76d5
Author: Lukas Petrikas <lukas.petrikas@company.lt>
Date: Fri Dec 15 10:04:53 2023 +0000
Merge branch 'chg/fix_issue1' into 'main'
chg: dev: changed something
See merge request embeded-programmers/gitchangelog-test!2
commit 6cd76d51faeac4608afc7843ad4cf701e5152f77 (origin/chg/fix_issue1, chg/fix_issue1)
Author: Lukas <petrikaslukas@gmail.com>
Date: Fri Dec 15 12:04:07 2023 +0200
chg: dev: changed something
commit c2571fc2f35f50c851164fb67a057f565dffa7b5
Merge: f2360be 8aa20c1
Author: Lukas Petrikas <lukas.petrikas@company.lt>
Date: Fri Dec 15 10:01:11 2023 +0000
Merge branch 'dev/feature1' into 'main'
new: dev: Feature1 development has been completed
See merge request embeded-programmers/gitchangelog-test!1
commit 8aa20c197db9b68d0324069bffd24707f26609ab (origin/dev/feature1, dev/feature1)
Author: Lukas <petrikaslukas@gmail.com>
Date: Fri Dec 15 11:59:47 2023 +0200
new: dev: Feature1 development has been completed
:
The output when I run gitchangelog
command:
(unreleased)
------------
- Merge branch 'chg/fix_issue1' into 'main' [Lukas Petrikas]
chg: dev: changed something
See merge request embeded-programmers/gitchangelog-test!2
- Merge branch 'dev/feature1' into 'main' [Lukas Petrikas]
new: dev: Feature1 development has been completed
See merge request embeded-programmers/gitchangelog-test!1
Appreciate any help regarding how to set this up properly. Perhaps I have made some silly mistake that I am not able to see?