@hdnet/semantic-release-config
v3.2.0
Published
HDNET semantic-release config, implementing HSR-20
Downloads
239
Readme
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
Make sure you use Node.js >= 20.
Install dependencies
$ npm i -D semantic-release @hdnet/semantic-release-config
- Create a semantic-release config (i.e.
release.config.mjs
) and extend from @hdnet/semantic-release-config:
export default {
extends: '@hdnet/semantic-release-config',
}
- 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 totrue
throughPUBLISH
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.