Skip to content

📋 semantic-release plugin to generate changelog content with conventional-changelog

License

Notifications You must be signed in to change notification settings

Cube-Solutions/release-notes-generator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

release-notes-generator

FORK

This is fork of the package already included in semantic-release. The reason we created this fork is to allow custom extension that can alter the parsed commits.

One of the use cases we created this fork is to link JIRA service desk ticket to the commit based on the internal JIRA-ticket. To use this extension, make sure you install the package and add it to the configuration.

{
  plugins: [
    [
      '@semantic-release/commit-analyzer',
      {
        preset: 'conventionalcommits',
      }
    ],
    [
      'release-notes-generator-extension',
      {
        preset: 'conventionalcommits',
        extensions: [
          {
            name: 'release-notes-generator-jira-linked-ticket-extension',
            config: {
              issuePrefixTopics: [
                'ML-',
                'MLSD-'
              ],
              issuePrefixMatches: [
                'MLSD-'
              ]
            }
          }
        ],
        issuePrefixes: [
          'ML-',
          'MLSD-'
        ],
        commitUrlFormat: '{{host}}/{{owner}}/{{repository}}/commit/{{hash}}',
        compareUrlFormat: '{{host}}/{{owner}}/{{repository}}/-/compare/{{previousTag}}...{{currentTag}}',
        issueUrlFormat: 'https://YOUR_JIRA_HOST/browse/{{prefix}}{{id}}'
      }
    ],
  ]
}

For other configuration options view the original package: semantic-release

About

📋 semantic-release plugin to generate changelog content with conventional-changelog

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%