summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPersonal <personal@Akarshits-MacBook-Pro.local>2023-04-14 12:17:15 +0530
committerAKARSHITJOSHI <akarshitjoshi@gmail.com>2023-04-16 10:37:11 +0530
commit9a13447b97ce80dad40b254089cb782f5267801c (patch)
treed1d5ffbe583e8062b9feefee5212c4dde201c892
parent1efb565b22c17733acc8d39591cf3cdec54aa556 (diff)
Change push tag command
Signed-off-by: AKARSHITJOSHI <akarshitjoshi@gmail.com>
-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()
}