From 8d9a6e5426c244e5b68a563344d1480f292fa5ef Mon Sep 17 00:00:00 2001 From: usbharu <64310155+usbharu@users.noreply.github.com> Date: Sat, 10 Aug 2024 14:34:09 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20git=20diff=E3=81=8C=E5=A4=B1=E6=95=97?= =?UTF-8?q?=E3=81=99=E3=82=8B=E5=95=8F=E9=A1=8C=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/master-publish-package.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/master-publish-package.yaml b/.github/workflows/master-publish-package.yaml index 540220fd..a39fabd2 100644 --- a/.github/workflows/master-publish-package.yaml +++ b/.github/workflows/master-publish-package.yaml @@ -26,7 +26,7 @@ jobs: var tags = [] for (let [key, value] of Object.entries(jsonData.projects)) { - const command = "git diff " + baseRef + " HEAD --name-only --relative=" + key + "\n"; + const command = "git diff " + baseRef + " -- HEAD --name-only --relative=" + key + "\n"; const output = execSync(command, {encoding: 'utf8'}); if (output.length != 0) { tags.push(value)