Merge pull request #23985 from backstage/blam/eopn

chore: open the PR in browser when running patch script
This commit is contained in:
Patrik Oldsberg
2024-04-04 19:24:44 +02:00
committed by GitHub
+5 -3
View File
@@ -169,9 +169,11 @@ async function main(args) {
body: 'This release fixes an issue where',
title: `Patch release of ${prNumbers.map(nr => `#${nr}`).join(', ')}`,
});
console.log(
`https://github.com/backstage/backstage/compare/${patchBranch}...${branchName}?${params}`,
);
const url = `https://github.com/backstage/backstage/compare/${patchBranch}...${branchName}?${params}`;
console.log(`Opening ${url} ...`);
await run('open', url);
}
main(process.argv.slice(2)).catch(error => {