Files
angular__angular/tools/release/git/github-urls.ts
T
Paul Gschwendtner f59c1ee9bc build: print url to commits if staging script fails due to failing status (#14509)
* Based on a recent chat with Miles, it would be good if we default the `Is pre-release?` question to `false` and also print an URL if the status checks for a given branch fail (this should be just more convenient to see what failed)
2018-12-13 16:53:46 -08:00

5 lines
270 B
TypeScript

/** 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}`;
}