We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 424bf4d commit 8ac3119Copy full SHA for 8ac3119
scripts/update-changelog.ts
@@ -35,7 +35,7 @@ async function main () {
35
}
36
37
// Get the current PR for this release, if it exists
38
- const [currentPR] = await $fetch(`https://api.github.com/repos/CodeDredd/pinia-orm/pulls?head=v${newVersion}`)
+ const currentPR = (await $fetch(`https://api.github.com/repos/CodeDredd/pinia-orm/pulls?head=v${newVersion}`)).find(pull => pull.title === newVersion)
39
const contributors = await getContributors()
40
41
console.info('New Version ', newVersion)
0 commit comments