Open gs-dchakraborty opened 5 years ago
Additionally is there any way to pass a custom template to conventional-changelog standard-version?
@gs-dchakraborty you should be able to configure issueURL and userURL I believe, did you see:
https://github.com/conventional-changelog/standard-version#configuration
We don't currently go so far as allowing you to pass in a custom template -- there are quite a few domain specific variables that someone would need to worry about configuring so I've shied away from exposing anything that low level.
In the commit message where to provide the issueURL so that apart from commit link the issue link is also visible in the change log.
like in git commit -m "feat(ratings): added the ability to add star ratings to posts." where to put the issue number so that conventional changelog applies the issueurlformat to it & renders that in changelog.
I am using the standard-version of conventional change log.
@gs-dchakraborty in the body of the commit message, you should be able to write:
feat(ratings): added the ability to add star ratings post
fixes #34
And #34
will be linked, is this what you mean?
Yes.
My standard version configuration is
standardVersion({
scripts,
skip,
issueUrlFormat: "
closes #34 where 34 is my JIRA issue ID. But in the generated changelog - the JIRA issue ID after the keyword 'closes' is not shown. Is JIRA ID not supported as an issueURL due to which it is not getting displayed? As of now only commit ID gets displayed.
I have a somewhat similar problem.
We use commitizen, and our fixed issues are formatted in our commits as ISSUES CLOSED
:
fix: use new logger in latest version of @anewgo/infrastructure library.
Don't use the internal logging library.
ISSUES CLOSED: FLAG-836
Is there a way to configure standard-version
to parse patterns other than fixes #<issue_number>
?
In the CHANGELOG.md generated, only the compareURL & commitURL are shown by default. I need the issueURL and the userURL as well.