Skip to content

Commit

Permalink
chore: update semantic-release configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
hnykda committed Jan 5, 2025
1 parent 5132158 commit 6a0bd42
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions release.config.js
Original file line number Diff line number Diff line change
@@ -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',
Expand All @@ -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/',
},
],
[
Expand All @@ -29,4 +31,5 @@ module.exports = {
},
],
],
tagFormat: 'v${version}',
}

0 comments on commit 6a0bd42

Please sign in to comment.