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)