mirror of
https://github.com/go-gitea/gitea
synced 2024-06-03 03:46:51 +02:00
Fix build errors
This commit is contained in:
parent
b143f4ae81
commit
e8119df983
|
@ -138,7 +138,7 @@ func MigrateRepositoryGitData(ctx context.Context, u *user_model.User,
|
||||||
// note: this will greatly improve release (tag) sync
|
// note: this will greatly improve release (tag) sync
|
||||||
// for pull-mirrors with many tags
|
// for pull-mirrors with many tags
|
||||||
repo.IsMirror = opts.Mirror
|
repo.IsMirror = opts.Mirror
|
||||||
if err = repo_module.SyncReleasesWithTags(ctx, repo, gitRepo); err != nil {
|
if err = repo_module.SyncReleasesWithTags(ctx, repo, gitRepo, true); err != nil {
|
||||||
log.Error("Failed to synchronize tags to releases for repository: %v", err)
|
log.Error("Failed to synchronize tags to releases for repository: %v", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user