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 b8249a1 commit 9ed632eCopy full SHA for 9ed632e
tools/prepare-release.js
@@ -169,8 +169,6 @@ async function computeDiff(type) {
169
* pinned to a major version.
170
*/
171
async function prepareRelease(type) {
172
- const packageName = type.replace(/\d+$/, '');
173
-
174
// Compute a reasonably unique ID
175
const uid = (new Date()).toISOString().replace(/[\-T:\.Z]/g, "");
176
@@ -265,7 +263,7 @@ ${diff.substring(0, 60000)}`;
265
263
266
264
console.log();
267
console.log("Prepare pre-release PR title and body");
268
- const title = `📦 Release @webref/${packageName}@${version}`;
+ const title = `📦 Release @webref/${type}@${version}`;
269
const body = `
270
**⚠ NEVER add commits to this pull request.**
271
0 commit comments