fix: always fetch all repository tags
This commit is contained in:
parent
c47aa49373
commit
32851d4d99
|
@ -616,6 +616,11 @@ func EnsureUpToDate(recipeName string) error {
|
|||
return err
|
||||
}
|
||||
|
||||
fetchOpts := &git.FetchOptions{
|
||||
Tags: git.AllTags,
|
||||
}
|
||||
repo.Fetch(fetchOpts)
|
||||
|
||||
opts := &git.PullOptions{
|
||||
Force: true,
|
||||
ReferenceName: branch,
|
||||
|
|
Loading…
Reference in New Issue