fix: always fetch all repository tags #266
|
@ -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