mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fe7f95ec10
Closes #13455
10 lines
497 B
TypeScript
10 lines
497 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}`;
|
|
}
|
|
|
|
/** Gets a Github URL that refers list of releases within the specified repository. */
|
|
export function getGithubReleasesUrl(owner: string, repository: string) {
|
|
return `https://github.com/${owner}/${repository}/releases`;
|
|
}
|