Skip to content

Commit

Permalink
fix: correct zip file packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
hnykda committed Jan 5, 2025
1 parent c538367 commit a3b78fb
Showing 1 changed file with 3 additions and 27 deletions.
30 changes: 3 additions & 27 deletions release.config.js
Original file line number Diff line number Diff line change
@@ -1,40 +1,17 @@
const pluginName = require('./package.json').name

module.exports = {
branches: [
{
name: 'main',
initial: true,
prerelease: false,
channel: 'latest',
releaseRules: [{ breaking: true, release: 'major' }] // Add explicit rule for breaking changes
}
],
releaseRules: [
{ type: 'feat', release: 'minor' },
{ type: 'fix', release: 'patch' },
{ type: 'feat', scope: 'BREAKING CHANGE', release: 'major' },
{ breaking: true, release: 'major' }
],
branches: [{ name: 'main' }],
plugins: [
['@semantic-release/commit-analyzer', {
preset: 'angular',
releaseRules: [
{ type: 'feat', release: 'minor' },
{ type: 'fix', release: 'patch' },
{ type: 'feat', scope: 'BREAKING CHANGE', release: 'major' },
{ breaking: true, release: 'major' }
]
}],
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
'@semantic-release/changelog',
['@semantic-release/npm', { npmPublish: false }],
[
'@semantic-release/git',
{
assets: ['CHANGELOG.md', 'package.json'],
message:
'chore(release): ${nextRelease.version}\n\n${nextRelease.notes}',
message: 'chore(release): ${nextRelease.version}\n\n${nextRelease.notes}',
},
],
[
Expand All @@ -53,5 +30,4 @@ module.exports = {
},
],
],
tagFormat: 'v${version}',
}

0 comments on commit a3b78fb

Please sign in to comment.