Skip to content

Commit

Permalink
remove unnecessary check from check_if_release.js
Browse files Browse the repository at this point in the history
Signed-off-by: Kashish Mittal <[email protected]>
  • Loading branch information
04kash committed Oct 17, 2024
1 parent bdd5c67 commit 7f2e0d2
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions scripts/ci/check-if-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,20 +75,6 @@ async function main() {
throw new Error('GITHUB_OUTPUT environment variable not set');
}

// Ensure we have fetched the targetBranch
await runPlain('git', 'fetch', 'origin', targetBranch);
const branchExists = await runPlain(
'git',
'rev-parse',
'--verify',
'[email protected]',
);
if (!branchExists) {
console.error(
`Branch '[email protected]' does not exist.`,
);
}

const diff = await runPlain(
'git',
'diff',
Expand Down

0 comments on commit 7f2e0d2

Please sign in to comment.