chore: open the PR in browser

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2024-04-04 12:49:06 +02:00
parent 7882ea60d3
commit 87e7e36e66
+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 => {