diff --git a/packages/release-orchestrator/src/steps/changesetStatus.ts b/packages/release-orchestrator/src/steps/changesetStatus.ts index bf8855f42..8eb4b07fe 100644 --- a/packages/release-orchestrator/src/steps/changesetStatus.ts +++ b/packages/release-orchestrator/src/steps/changesetStatus.ts @@ -7,8 +7,7 @@ export const changesetStatus = async (): Promise => { try { // fetch commits between current branch and main - await run('git fetch origin ${GITHUB_REF#refs/heads/} --shallow-exclude main'); - console.log(await run('git diff --name-only origin/main...${GITHUB_REF#refs/heads/}')); + console.log(await run('git fetch origin ${GITHUB_REF#refs/heads/} --shallow-exclude main')); await run(`yarn changeset status --output=${basefile}`); } catch (err) { console.log(err);