diff options
Diffstat (limited to 'services/repository/adopt.go')
-rw-r--r-- | services/repository/adopt.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/services/repository/adopt.go b/services/repository/adopt.go index f95fb5988f..67604fd1b4 100644 --- a/services/repository/adopt.go +++ b/services/repository/adopt.go @@ -195,6 +195,10 @@ 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 { + return fmt.Errorf("SyncReleasesWithTags: %w", err) + } + return nil } |