Skip to content

Commit

Permalink
ci: use main branch for prs
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Oct 27, 2023
1 parent 7d970f5 commit 97ee06e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/update-changelog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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=bridge:v${newVersion}`)
const [currentPR] = await $fetch(`https://api.github.com/repos/nuxt/bridge/pulls?head=main:v${newVersion}`)

const releaseNotes = [
currentPR?.body.replace(/## 👉 Changelog[\s\S]*$/, '') || `> ${newVersion} is the next ${bumpType} release.\n>\n> **Timetable**: to be announced.`,
Expand Down

0 comments on commit 97ee06e

Please sign in to comment.