lix-website/themes/lix/assets/bootstrap/node_modules/karma-chrome-launcher/release.config.js
2024-04-26 22:49:34 -06:00

45 lines
1.5 KiB
JavaScript

module.exports = {
branches: 'master',
verifyConditions: [
'@semantic-release/changelog',
'@semantic-release/github',
'@semantic-release/npm'
],
prepare: [
'./tools/update-contributors',
'@semantic-release/changelog',
'@semantic-release/git',
'@semantic-release/npm'
],
publish: [
'@semantic-release/github',
'@semantic-release/npm'
],
success: [
'@semantic-release/github'
],
fail: [
'@semantic-release/github'
],
// The release rules determine what kind of release should be triggered
// based on the information included in the commit message. The default
// rules used by semantic-release are the same, but they are set explicitly
// for better visibility.
// See https://github.com/semantic-release/commit-analyzer/blob/master/lib/default-release-rules.js
releaseRules: [
{ breaking: true, release: 'major' },
{ revert: true, release: 'patch' },
{ type: 'feat', release: 'minor' },
{ type: 'fix', release: 'patch' },
{ type: 'perf', release: 'patch' }
],
// The preset determines which commits are included in the changelog and how
// the changelog is formatted. The default value used by semantic-release is
// the same, but it is set explicitly for visibility.
// See https://semantic-release.gitbook.io/semantic-release/#commit-message-format
// See https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-angular
preset: 'angular'
}