diff --git a/.github/workflows/master-publish-package.yaml b/.github/workflows/master-publish-package.yaml index 42e3d90d..af2a343f 100644 --- a/.github/workflows/master-publish-package.yaml +++ b/.github/workflows/master-publish-package.yaml @@ -33,7 +33,7 @@ jobs: const command = "git diff origin/" + baseRef + " -- HEAD --name-only --relative=" + key + "\n"; const output = execSync(command, {encoding: 'utf8'}); console.log(output) - if (output.length !== 0) { + if (output.trim() === '') { tags.push(value) } }