Skip to content

HDNET semantic-release config, implementing HSR-20

Notifications You must be signed in to change notification settings

HDNET/semantic-release-config

Repository files navigation

HDNET semantic-release-config

This packages defines the strict implementation of the HDNET Semantic Release Workflow from the HDNET Standard Recommendations (HSR-20) as npm package using semantic-release through a shareable config.

Getting started

  1. Make sure you use Node.js >= 20.

  2. Install dependencies

$ npm i -D semantic-release @hdnet/semantic-release-config
  1. Create a semantic-release config (i.e. release.config.mjs) and extend from @hdnet/semantic-release-config:
export default {
    extends: '@hdnet/semantic-release-config',
}
  1. Add semantic-release to your CI workflow.

Features

  • supports composer through @iwavesmedia/semantic-release-composer plugin
  • allows overwriting issueUrlFormat through the env ISSUE_URL_FORMAT
  • allows setting issuePrefixes (default: #) through the env ISSUE_PREFIX
  • allows publishing to a package repository when publish is set to true through PUBLISH

Contribute

To setup the correct node version, use tools like nvm or mise. This project maintains an .nvmrc.

Publishing

A new version will automatically be published upon comitting to the main branch and pushing to the bitbucket repository.

About

HDNET semantic-release config, implementing HSR-20

Resources

Stars

Watchers

Forks

Packages

No packages published