summaryrefslogtreecommitdiffstats
path: root/pkg/integration/components/shell.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/integration/components/shell.go')
-rw-r--r--pkg/integration/components/shell.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/integration/components/shell.go b/pkg/integration/components/shell.go
index e3df61a50..a8caff77d 100644
--- a/pkg/integration/components/shell.go
+++ b/pkg/integration/components/shell.go
@@ -195,6 +195,10 @@ func (self *Shell) CreateAnnotatedTag(name string, message string, ref string) *
}
func (self *Shell) PushBranch(upstream, branch string) *Shell {
+ return self.RunCommand([]string{"git", "push", upstream, branch})
+}
+
+func (self *Shell) PushBranchAndSetUpstream(upstream, branch string) *Shell {
return self.RunCommand([]string{"git", "push", "--set-upstream", upstream, branch})
}