HDNET semantic-release config, implementing HSR-20
npm install @hdnet/semantic-release-configThis 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.
1. Make sure you use Node.js >= 20.
2. Install dependencies
``bash`
$ npm i -D semantic-release @hdnet/semantic-release-config
3. Create a semantic-release config (i.e. release.config.mjs) and extend from @hdnet/semantic-release-config:`javascript`
export default {
extends: '@hdnet/semantic-release-config',
}
4. Add semantic-release to your CI workflow.
* supports composer through @iwavesmedia/semantic-release-composer pluginissueUrlFormat
* allows overwriting through the env ISSUE_URL_FORMATissuePrefixes
* allows setting (default: #) through the env ISSUE_PREFIXpublish
* allows publishing to a package repository when is set to true through PUBLISHnext
* allows customizing the -channel branch name through the env NEXT_BRANCH
To setup the correct node version, use tools like nvm or mise. This project maintains an .nvmrc.
A new version will automatically be published upon comitting to the main` branch and pushing to the bitbucket repository.