mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-04 21:19:27 +08:00
chore: update changelogAndRelease.js
This commit is contained in:
parent
22869ca184
commit
8bd3d3625c
@ -120,12 +120,12 @@ async function parsePR(number, pkgType, cwd, pkg, retries = 10) {
|
|||||||
return { number };
|
return { number };
|
||||||
}
|
}
|
||||||
const { author, body, files, baseRefName, url } = JSON.parse(res);
|
const { author, body, files, baseRefName, url } = JSON.parse(res);
|
||||||
if (ver === 'beta' && baseRefName !== 'next') {
|
// if (ver === 'beta' && baseRefName !== 'next') {
|
||||||
return { number };
|
// return { number };
|
||||||
}
|
// }
|
||||||
if (ver === 'alpha' && baseRefName !== 'develop') {
|
// if (ver === 'alpha' && baseRefName !== 'develop') {
|
||||||
return { number };
|
// return { number };
|
||||||
}
|
// }
|
||||||
const typeRegExp = /\[x\] ([^(\\\r)]+)/;
|
const typeRegExp = /\[x\] ([^(\\\r)]+)/;
|
||||||
const typeMatch = body.match(typeRegExp);
|
const typeMatch = body.match(typeRegExp);
|
||||||
const prType = typeMatch ? typeMatch[1] : '';
|
const prType = typeMatch ? typeMatch[1] : '';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user