Skip to content

Commit

Permalink
fix: use defaults config options where possible
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed Feb 20, 2019
1 parent 5193a40 commit 5d52c67
Showing 1 changed file with 20 additions and 12 deletions.
32 changes: 20 additions & 12 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,18 @@
// * https://github.com/semantic-release/apm-config/blob/b5d20caaa2e4055511aa1be3c1f923ecedcb688d/index.js
// * https://github.com/semantic-release/gitlab-config/blob/332f5c64b672d00f5298d6501311c8a669d0a3c4/index.js
// * https://github.com/semantic-release/semantic-release/blob/d6d1bc954e5f86fe8036702129f5b9807db81d08/test/fixtures/multi-plugin.js
// * ...
// * Options:
// * ...
// * ...
// * ...
// * ...
// * Handlebars:
// * https://github.com/semantic-release/changelog/issues/34#issuecomment-424429104
// * ...
// * ...
// * ...
// * ...
// * https://github.com/semantic-release/semantic-release/blob/448a0ff977fda5ad44c96571367f60e6fcdee73a/lib/definitions/plugins.js
// * https://github.com/semantic-release/commit-analyzer/blob/fc0f98d41b989f5d3314e2e84c3430d0ca615daf/README.md
// * https://github.com/semantic-release/exec/blob/745d0faed7e402695a2b12035328d5c139da6224/index.js#L98
Expand All @@ -20,9 +28,9 @@
// * ...

module.exports = {
extends: './release.config.js',
// extends: './release.config.js',
branch: 'master',
tagFormat: 'v${version}',
// tagFormat: 'v${version}',
plugins: [
// '@semantic-release/commit-analyzer',
['@semantic-release/commit-analyzer', {
Expand All @@ -41,26 +49,26 @@ module.exports = {
// '@semantic-release/git',
['@semantic-release/git', {
assets: ['CHANGELOG.md', 'FORMULA'],
message: `chore(release): \${nextRelease.version} [skip ci]`,
// message: `chore(release): \${nextRelease.version} [skip ci]`,
}],
'@semantic-release/github',
],
dryRun: false,
ci: true,
debug: true,
// dryRun: false,
// ci: true,
// debug: true,
// verifyConditions: {},
// getLastRelease: {},
// analyzeCommits: {},
// verifyRelease: {},
generateNotes: {
preset: 'angular',
writerOpts: {
commitsSort: [
// 'header',
'subject',
'scope',
],
ignoreReverted: false,
// commitsSort: [
// // 'header',
// 'subject',
// 'scope',
// ],
// ignoreReverted: false,
// Required due to upstream bug preventing all types being displayed.
// Bug: https://github.com/conventional-changelog/conventional-changelog/issues/317
// Fix: https://github.com/conventional-changelog/conventional-changelog/pull/410
Expand Down

0 comments on commit 5d52c67

Please sign in to comment.