Skip to content

Commit cee3e90

Browse files
committed
ci: remove changelog generation from stable releases
1 parent 2970366 commit cee3e90

1 file changed

Lines changed: 3 additions & 13 deletions

File tree

packages/superdoc/.releaserc.cjs

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -76,22 +76,12 @@ const isPrerelease = config.branches.some(
7676
)
7777

7878
if (!isPrerelease) {
79-
// Add changelog BEFORE git
80-
config.plugins.push([
81-
'@semantic-release/changelog',
82-
{
83-
changelogFile: 'CHANGELOG.md'
84-
}
85-
])
86-
87-
// Git plugin comes AFTER npm and changelog
79+
// Git plugin commits the version bump back to the branch.
80+
// No changelog — release notes live on the GitHub release only.
8881
config.plugins.push([
8982
'@semantic-release/git',
9083
{
91-
assets: [
92-
'CHANGELOG.md',
93-
'package.json'
94-
],
84+
assets: ['package.json'],
9585
message:
9686
'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}',
9787
},

0 commit comments

Comments
 (0)