Skip to content

Commit

Permalink
Fix release changelog script (#4159)
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp-spiess authored May 13, 2024
1 parent ae96ec8 commit eaa7d35
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vscode/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ This is a log of all notable changes to Cody for VS Code. [Unreleased] changes a

### Fixed

- Chat: Fixed a bug where the chat model dropdown would not work on first click. [pull/](https://github.com/sourcegraph/cody/pull/)
- Chat: Fixed a bug where the chat model dropdown would not work on first click. [pull/4122](https://github.com/sourcegraph/cody/pull/4122)

### Changed

Expand Down
5 changes: 4 additions & 1 deletion vscode/scripts/github-changelog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function extractRepoAndNumberFromLink(
link
)
if (!matches?.groups) {
throw new Error(`Malformed link: ${link}`)
return undefined
}
return {
owner: matches.groups.owner,
Expand Down Expand Up @@ -142,6 +142,9 @@ async function main(): Promise<void> {
if (json?.user?.login) {
author = json.user.login
}
} else {
console.warn(`Could not extract owner/repo/number from link: ${change.link}`)
continue
}
}

Expand Down

0 comments on commit eaa7d35

Please sign in to comment.