github-tag-action icon indicating copy to clipboard operation
github-tag-action copied to clipboard

Possibility to customise issueUrlFormat

Open luber opened this issue 1 year ago • 0 comments

Hi, Would it be nice to add the possibility to customise issueUrlFormat of semantic-release/release-notes-generator? It looks like it can be done by setting it via .releaserc, but looks like this file is not respected:

{
  "plugins": [
    ["@semantic-release/commit-analyzer", {
      "preset": "conventionalcommits"
    }],
    ["@semantic-release/release-notes-generator", {
      "preset": "conventionalcommits",
      "presetConfig": {
        "issuePrefixes": ['AB#'],
        "issueUrlFormat": 'https://dev.azure.com/${REPLACE_WITH_ORGANIZATION_NAME}/${REPLACE_WITH_PROJECT_NAME}/_workitems/edit/{{id}}'
      }
    }],
    "@semantic-release/npm",
    "@semantic-release/github",
  ]
}

luber avatar Jul 03 '23 09:07 luber