Improve the « auto » feature with a more robust function to find the release type.
The following discussion from !6 (merged) should be addressed:
-
@famarger started a discussion: (+1 comment) yep I think we can at least check if this is at the begnning of a line and with a ":" after. Because for now if we have a changeset with something like for example :
This patch fixes a bug but break something else
Then we are going to a major release. But yep, we can start with this and improve after a while.
See https://forge.extranet.logilab.fr/schabot/hg-autochangelog/-/blob/branch/default/hg_autochangelog/main.py#L55 for a working version that may be used for inspiration.