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