mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-01 18:52:20 +08:00
fix: changelog script
This commit is contained in:
parent
737e553934
commit
1275d32388
@ -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