summaryrefslogtreecommitdiffstats
path: root/pkg/commands
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2023-04-29 12:43:55 +1000
committerGitHub <noreply@github.com>2023-04-29 12:43:55 +1000
commit7db54a948a3247fe7c5d4feadfb27837bd073859 (patch)
tree505ec0d550c4f3dda2e18cdeefdbbb42aa0bc3b7 /pkg/commands
parent32556480dae19aab1a9ed0498777adbd53bc91c8 (diff)
parent9a13447b97ce80dad40b254089cb782f5267801c (diff)
Merge pull request #2548 from AKARSHITJOSHI/fix/tagPush
Diffstat (limited to 'pkg/commands')
-rw-r--r--pkg/commands/git_commands/tag.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/commands/git_commands/tag.go b/pkg/commands/git_commands/tag.go
index 8b5a69967..b4c04c438 100644
--- a/pkg/commands/git_commands/tag.go
+++ b/pkg/commands/git_commands/tag.go
@@ -35,5 +35,5 @@ func (self *TagCommands) Delete(tagName string) error {
}
func (self *TagCommands) Push(remoteName string, tagName string) error {
- return self.cmd.New(fmt.Sprintf("git push %s %s", self.cmd.Quote(remoteName), self.cmd.Quote(tagName))).PromptOnCredentialRequest().WithMutex(self.syncMutex).Run()
+ return self.cmd.New(fmt.Sprintf("git push %s tag %s", self.cmd.Quote(remoteName), self.cmd.Quote(tagName))).PromptOnCredentialRequest().WithMutex(self.syncMutex).Run()
}