fix: catch errors here too
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
See #266
This commit is contained in:
parent
bf79552204
commit
2a88491d7c
|
@ -616,10 +616,10 @@ func EnsureUpToDate(recipeName string) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
fetchOpts := &git.FetchOptions{
|
fetchOpts := &git.FetchOptions{Tags: git.AllTags}
|
||||||
Tags: git.AllTags,
|
if err := repo.Fetch(fetchOpts); err != nil {
|
||||||
|
return err
|
||||||
}
|
}
|
||||||
repo.Fetch(fetchOpts)
|
|
||||||
|
|
||||||
opts := &git.PullOptions{
|
opts := &git.PullOptions{
|
||||||
Force: true,
|
Force: true,
|
||||||
|
|
Loading…
Reference in New Issue