diff --git a/release.config.js b/release.config.js index f8fd20a..1b4f0fb 100644 --- a/release.config.js +++ b/release.config.js @@ -1,7 +1,7 @@ const pluginName = require('./package.json').name module.exports = { - branches: 'main', + branches: [{ name: 'main', initial: true }], plugins: [ '@semantic-release/commit-analyzer', '@semantic-release/release-notes-generator', @@ -19,7 +19,9 @@ module.exports = { '@semantic-release/exec', { prepareCmd: - 'zip -qq -r ' + pluginName + '-${nextRelease.version}.zip package.json public/icon.png README.md dist/', + 'zip -qq -r ' + + pluginName + + '-${nextRelease.version}.zip package.json public/icon.png README.md dist/', }, ], [ @@ -29,4 +31,5 @@ module.exports = { }, ], ], + tagFormat: 'v${version}', }