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
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fetchOpts := &git.FetchOptions{
|
||||||
|
Tags: git.AllTags,
|
||||||
|
}
|
||||||
|
repo.Fetch(fetchOpts)
|
||||||
|
|
||||||
opts := &git.PullOptions{
|
opts := &git.PullOptions{
|
||||||
Force: true,
|
Force: true,
|
||||||
ReferenceName: branch,
|
ReferenceName: branch,
|
||||||
|
|
Loading…
Reference in New Issue