code_review: PR #1093

Merge deleting branch and tag on remote into `SourceGit.Commands.Push(repo, remote, refname, isDelete)`

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-03-14 09:36:34 +08:00
parent 9645b65db6
commit c8bee2f6ba
No known key found for this signature in database
5 changed files with 13 additions and 21 deletions

View file

@ -96,7 +96,7 @@ namespace SourceGit.ViewModels
foreach (var remote in remotes)
{
SetProgressDescription($"Pushing tag to remote {remote.Name} ...");
new Commands.Push(_repo.FullPath, remote.Name, _tagName, false).Exec();
new Commands.Push(_repo.FullPath, remote.Name, $"refs/tags/{_tagName}", false).Exec();
}
}