Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
illay1994 committed Oct 25, 2023
1 parent 8be845a commit ae3c063
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
20 changes: 20 additions & 0 deletions lib/workers/repository/update/pr/changelog/azure/source.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import type { BranchUpgradeConfig } from '../../../../../types';
import { ChangeLogSource } from '../source';

export class AzureChangeLogSource extends ChangeLogSource {
constructor() {
super('azure', 'git-tags');
}

override getCompareURL(
baseUrl: string,
repository: string,
prevHead: string,
nextHead: string
): string {
throw new Error('Method not implemented.');
}
override getAPIBaseUrl(config: BranchUpgradeConfig): string {
throw new Error('Method not implemented.');
}
}
7 changes: 6 additions & 1 deletion lib/workers/repository/update/pr/changelog/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@ export interface ChangeLogRelease {
gitRef: string;
}

export type ChangeLogPlatform = 'bitbucket' | 'gitea' | 'github' | 'gitlab';
export type ChangeLogPlatform =
| 'azure'
| 'bitbucket'
| 'gitea'
| 'github'
| 'gitlab';

export interface ChangeLogProject {
packageName?: string;
Expand Down

0 comments on commit ae3c063

Please sign in to comment.