File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -182,8 +182,9 @@ func CleanUpMigrateInfo(repo *models.Repository) (*models.Repository, error) {
182
182
// SyncReleasesWithTags synchronizes release table with repository tags
183
183
func SyncReleasesWithTags (repo * models.Repository , gitRepo * git.Repository ) error {
184
184
existingRelTags := make (map [string ]struct {})
185
- opts := models.FindReleasesOptions {IncludeDrafts : true , IncludeTags : true }
185
+ opts := models.FindReleasesOptions {IncludeDrafts : true , IncludeTags : true , ListOptions : models. ListOptions { PageSize : 50 } }
186
186
for page := 1 ; ; page ++ {
187
+ opts .Page = page
187
188
rels , err := models .GetReleasesByRepoID (repo .ID , opts )
188
189
if err != nil {
189
190
return fmt .Errorf ("GetReleasesByRepoID: %v" , err )
You can’t perform that action at this time.
0 commit comments