diff --git a/tools/release/git/github-urls.ts b/tools/release/git/github-urls.ts new file mode 100644 index 00000000000..3c02817ea99 --- /dev/null +++ b/tools/release/git/github-urls.ts @@ -0,0 +1,4 @@ +/** Gets a Github URL that refers to a lists of recent commits within a specified branch. */ +export function getGithubBranchCommitsUrl(owner: string, repository: string, branchName: string) { + return `https://github.com/${owner}/${repository}/commits/${branchName}`; +} diff --git a/tools/release/prompt/new-version-prompt.ts b/tools/release/prompt/new-version-prompt.ts index 22f2f2d6687..8be1183da85 100644 --- a/tools/release/prompt/new-version-prompt.ts +++ b/tools/release/prompt/new-version-prompt.ts @@ -50,6 +50,7 @@ export async function promptForNewVersion(currentVersion: Version): Promise