forked from toolshed/abra
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…
x
Reference in New Issue
Block a user