This commit is contained in:
Chongyi Zheng 2023-09-16 02:33:03 -04:00
parent eacc3ed9c7
commit 197489b5b1
No known key found for this signature in database
GPG Key ID: E3C2287691E40E35
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ func adoptRepository(ctx context.Context, repoPath string, u *user_model.User, r
return fmt.Errorf("updateRepository: %w", err)
}
if err = repo_module.SyncReleasesWithTags(repo, gitRepo); err != nil {
if err = repo_module.SyncReleasesWithTags(repo, gitRepo, true); err != nil {
return fmt.Errorf("SyncReleasesWithTags: %w", err)
}