This commit is contained in:
usbharu 2024-08-10 14:49:41 +09:00
parent 53a4953c07
commit 1fbe3356fc
Signed by: usbharu
GPG Key ID: 6556747BF94EEBC8
1 changed files with 3 additions and 2 deletions

View File

@ -29,10 +29,11 @@ jobs:
var tags = []
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 origin/" + baseRef + " -- HEAD --name-only --relative=" + key + "\n";
const output = execSync(command, {encoding: 'utf8'});
if (output.length != 0) {
console.log(output)
if (output.length !== 0) {
tags.push(value)
}
}