From 2ac8eea0b7e190d2f046cfffcf6583dbd3fed2f8 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Sat, 28 Oct 2023 00:23:13 +0900 Subject: [PATCH] chore: revert --- scripts/update-changelog.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update-changelog.ts b/scripts/update-changelog.ts index 8fa9af29..e977aae3 100644 --- a/scripts/update-changelog.ts +++ b/scripts/update-changelog.ts @@ -35,7 +35,7 @@ async function main () { } // Get the current PR for this release, if it exists - const [currentPR] = await $fetch(`https://api.github.com/repos/nuxt/bridge/pulls?head=main:v${newVersion}`) + const [currentPR] = await $fetch(`https://api.github.com/repos/nuxt/bridge/pulls?head=bridge:v${newVersion}`) const releaseNotes = [ currentPR?.body.replace(/## 👉 Changelog[\s\S]*$/, '') || `> ${newVersion} is the next ${bumpType} release.\n>\n> **Timetable**: to be announced.`,