Skip to content

Commit bd085db

Browse files
committed
ci: disable docs and refactor commits create a release
1 parent 74a220e commit bd085db

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

.releaserc.mjs

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,26 +15,13 @@ const config = {
1515
],
1616
preset: 'conventionalcommits',
1717
plugins: [
18-
[
19-
'@semantic-release/commit-analyzer',
20-
{
21-
releaseRules: [
22-
{
23-
type: 'docs',
24-
release: 'minor',
25-
},
26-
{
27-
type: 'refactor',
28-
release: 'major',
29-
},
30-
],
31-
},
32-
],
18+
'@semantic-release/commit-analyzer',
3319
'@semantic-release/release-notes-generator',
3420
'@anolilab/semantic-release-pnpm',
3521
],
3622
}
3723

24+
// NOTE: add BRANCH env in the workflow
3825
if (process.env.BRANCH === 'main') {
3926
config.plugins.push('@semantic-release/github')
4027
}

0 commit comments

Comments
 (0)