diff --git a/.github/workflows/master-publish-package.yaml b/.github/workflows/master-publish-package.yaml index 55386ed8..1da19cda 100644 --- a/.github/workflows/master-publish-package.yaml +++ b/.github/workflows/master-publish-package.yaml @@ -27,7 +27,7 @@ jobs: for (let [key, value] of Object.entries(jsonData.projects)) { 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'}); if (output.length != 0) { tags.push(value)