Skip to content

Commit

Permalink
fix: release.config.cjs
Browse files Browse the repository at this point in the history
  • Loading branch information
6eDesign committed Sep 17, 2021
1 parent 2e80dfc commit 62ce395
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions release.config.cjs
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
const npm = [
'@semantic-release/npm',
{
pkgRoot: 'package'
}
];
module.exports = {
branches: ['master'],
verifyConditions: [
'@semantic-release/changelog',
[
'@semantic-release/npm',
{
pkgRoot: 'package'
}
],
'@semantic-release/git'
],
verifyConditions: ['@semantic-release/changelog', npm, '@semantic-release/git'],
prepare: [
'@semantic-release/changelog',
'@semantic-release/npm',
npm,
{
path: '@semantic-release/git',
assets: ['docs', 'package.json', 'CHANGELOG.md'],
message: 'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}'
}
],
publish: ['@semantic-release/npm', '@semantic-release/github']
publish: [npm, '@semantic-release/github']
};

0 comments on commit 62ce395

Please sign in to comment.