This commit is contained in:
usbharu 2024-08-10 14:39:59 +09:00
parent ba46dcabcc
commit 80f33f7563
Signed by: usbharu
GPG Key ID: 6556747BF94EEBC8
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ jobs:
for (let [key, value] of Object.entries(jsonData.projects)) { for (let [key, value] of Object.entries(jsonData.projects)) {
console.log(execSync("git branch",{encoding: 'utf8'})) console.log(execSync("git branch",{encoding: 'utf8'}))
const command = "git diff " + baseRef + " -- HEAD --name-only --relative=" + key + "\n"; const command = "git diff origin/" + baseRef + " -- HEAD --name-only --relative=" + key + "\n";
const output = execSync(command, {encoding: 'utf8'}); const output = execSync(command, {encoding: 'utf8'});
if (output.length != 0) { if (output.length != 0) {
tags.push(value) tags.push(value)