conventional-changelog / standard-version

:trophy: Automate versioning and CHANGELOG generation, with semver.org and conventionalcommits.org
ISC License
7.7k stars 797 forks source link

Related to is set as "closes" in changelog #935

Open mebibou opened 1 year ago

mebibou commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

Generating the changelog with a commit using Related to #<issue number> contains the word "closes" instead of "related to" or "relates to".

See example:

Current behavior A clear and concise description of the behavior.

The commit says:

crop: add agrovoc links (24fdb20), closes #72

Expected behavior A clear and concise description of what you expected to happen.

It should say:

crop: add agrovoc links (24fdb20), relates to #72

Environment

Possible Solution

Additional context Add any other context about the problem here. Or a screenshot if applicable

Regenhardt commented 1 year ago

This is standard behaviour, it just picks up the ticket number and plugs it into the " (), closes " template. This would also mean all kinds of things, like making sure multiple tickets are picked up ("relates to #issue, unblocks #issue2") and parsed properly.

That off course in addition to this package not being maintained any more. You could however fork it, implement this yourself and try getting some traction, there are many developers using this package so a successor would be welcome.