We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a9ee4b commit 856b531Copy full SHA for 856b531
release.js
@@ -88,6 +88,14 @@ const groupByLabels = async (commits, github) => {
88
return sections
89
}
90
91
+function cleanupPRTitle(title) {
92
+ if (title.startsWith('[Docs] ')) {
93
+ return title.replace('[Docs] ', '')
94
+ }
95
+
96
+ return title
97
+}
98
99
const buildChangelog = (sections, authors) => {
100
let text = ''
101
@@ -105,7 +113,7 @@ const buildChangelog = (sections, authors) => {
105
113
for (const change of changes) {
106
114
const numberText = change.number != null ? `: #${change.number}` : ''
107
115
108
- text += `- ${change.title}${numberText}\n`
116
+ text += `- ${cleanupPRTitle(change.title)}${numberText}\n`
109
117
110
118
111
119
text += '\n'
0 commit comments