mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-02 11:12:20 +08:00
Merge branch 'main' into next
This commit is contained in:
commit
6876c3ddb7
@ -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