Skip to content

Commit acfb41b

Browse files
authored
Auto-add release changelog after the release (#49)
* feat: auto add release changelog * feat: auto add release changelog
1 parent a552713 commit acfb41b

File tree

3 files changed

+550
-2
lines changed

3 files changed

+550
-2
lines changed

.release-it.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,15 @@
99
"github": {
1010
"release": true,
1111
"web": true,
12-
"autoGenerate": true,
1312
"releaseName": "Release ${version}",
14-
"assets": ["build/*.zip"]
13+
"releaseNotes": "git log --no-merges --pretty=format:\"* %s %h\" ${latestTag}...main"
14+
},
15+
"plugins": {
16+
"@release-it/conventional-changelog": {
17+
"preset": {
18+
"name": "conventionalcommits"
19+
},
20+
"infile": "CHANGELOG.md"
21+
}
1522
}
1623
}

0 commit comments

Comments
 (0)