fix #2 - add support for an array of 'Runs'
This commit is contained in:
@@ -204,7 +204,9 @@ func NewGitCloneExecutor(input NewGitCloneExecutorInput) Executor {
|
||||
return err
|
||||
}
|
||||
|
||||
w.Pull(&git.PullOptions{})
|
||||
w.Pull(&git.PullOptions{
|
||||
ReferenceName: refName,
|
||||
})
|
||||
input.Logger.Debugf("Cloned %s to %s", input.URL.String(), input.Dir)
|
||||
|
||||
err = w.Checkout(&git.CheckoutOptions{
|
||||
|
Reference in New Issue
Block a user