mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 13:39:24 +08:00
Merge branch 'main' into next
This commit is contained in:
commit
c9c7531946
@ -164,7 +164,7 @@ async function getPRList(from, to, cwd) {
|
|||||||
const { stdout: logs } = await execa('git', ['log', `${from}..${to}`, '--pretty=format:%s'], { cwd });
|
const { stdout: logs } = await execa('git', ['log', `${from}..${to}`, '--pretty=format:%s'], { cwd });
|
||||||
const prs = [];
|
const prs = [];
|
||||||
for (const log of logs.split('\n')) {
|
for (const log of logs.split('\n')) {
|
||||||
const match = log.match(/\(#(\d+)\)/);
|
const match = log.match(/#(\d+)/);
|
||||||
if (match) {
|
if (match) {
|
||||||
prs.push(match[1]);
|
prs.push(match[1]);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user