Skip to content

Commit

Permalink
Fix release CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sywhb committed Jan 31, 2023
1 parent d8a3cec commit 3f92af6
Showing 1 changed file with 18 additions and 13 deletions.
31 changes: 18 additions & 13 deletions release.config.js
Original file line number Diff line number Diff line change
@@ -1,29 +1,34 @@
module.exports = {
branches: 'master',
branches: "master",
tagFormat: "${version}",
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
'@semantic-release/changelog',
['@semantic-release/npm', { npmPublish: false }],
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
["@semantic-release/npm", { npmPublish: false }],
[
'@semantic-release/exec',
"@semantic-release/exec",
{
prepareCmd:
'npm run version',
prepareCmd: "npm run version",
},
],
[
'@semantic-release/git',
"@semantic-release/git",
{
assets: ['CHANGELOG.md', 'package.json', 'manifest.json', 'style.css'],
assets: [
"CHANGELOG.md",
"package.json",
"manifest.json",
"versions.json",
],
message:
'chore(release): ${nextRelease.version}\n\n${nextRelease.notes}',
"chore(release): ${nextRelease.version}\n\n${nextRelease.notes}",
},
],
[
'@semantic-release/github',
"@semantic-release/github",
{
assets: ['main.js', 'manifest.json', 'style.css'],
assets: ["main.js", "manifest.json", "styles.css"],
},
],
],
Expand Down

0 comments on commit 3f92af6

Please sign in to comment.