SCM Graph - Add "Create Tag" action to history item context menu (#228428)

This commit is contained in:
Ladislau Szomoru
2024-09-13 10:17:44 +02:00
committed by GitHub
parent fa28177248
commit 8a9caf323a
6 changed files with 22 additions and 13 deletions

View File

@@ -1563,8 +1563,8 @@ export class Repository implements Disposable {
await this.run(Operation.Rebase, () => this.repository.rebase(branch));
}
async tag(name: string, message?: string): Promise<void> {
await this.run(Operation.Tag, () => this.repository.tag(name, message));
async tag(options: { name: string; message?: string; ref?: string }): Promise<void> {
await this.run(Operation.Tag, () => this.repository.tag(options));
}
async deleteTag(name: string): Promise<void> {