semver icon indicating copy to clipboard operation
semver copied to clipboard

Feature: Configure changelog commit and issue url format

Open rtkac opened this issue 3 years ago • 4 comments

Hi, is it possible to add configuration for generated CHANGELOG? Same as it has Standard Version in .versionrc config file.

The problem is that the Changelog does not have correct url of the Bitbucket commits/tags compare and no url of the Jira tickets.

EXAMPLE OF USAGE:

{
  "commitUrlFormat": "https://comp.bitbucket.com/projects/PROJECT-REPO/commits/{{hash}}",
  "compareUrlFormat": "https://comp.bitbucket.com/projects/PROJECT-REPO/compare/commits?targetBranch=refs/tags/{{previousTag}}&sourceBranch=refs/tags/{{currentTag}}",
  "issueUrlFormat": "https://comp.jira.com/browse/{{prefix}}{{id}}",
  "issuePrefixes": ["PROJECT1-", "PROJECT2-"]
}

It will be great feature, thanks!

rtkac avatar Jan 25 '22 14:01 rtkac

I would like to contribute. Can I take this?

gauravsoni119 avatar Feb 11 '22 20:02 gauravsoni119

I think this is more or less related to #397 issue. @edbzn is there any planning to support .versionrc file in the upcoming versions.

gauravsoni119 avatar Feb 12 '22 11:02 gauravsoni119

@gauravsoni119 Nothing planned for this but contributions are welcome!

edbzn avatar Feb 16 '22 22:02 edbzn

@gauravsoni119 @edbzn something new here? Thanks :)

rtkac avatar May 31 '22 07:05 rtkac

Hi @edbzn, it's already done I believe... right? I can see it in the documentation. Thanks

rtkac avatar Nov 09 '23 12:11 rtkac

@rtkac where?

menosprezzi avatar Nov 20 '23 20:11 menosprezzi

We don't have .versionrc file support but you can configure the changelog config using the executor options commitParserOptions, and preset. Does this help?

edbzn avatar Nov 21 '23 07:11 edbzn

Right, that's what I was talking about :)

rtkac avatar Nov 21 '23 08:11 rtkac