Browse Source
Sync tags when adopting repos (#26816) (#26834)
Backport #26816 by @Zettat123
Fixes #26138
Sync the tags into database when adopting repos
Co-authored-by: Zettat123 <zettat123@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
tags/v1.20.4
Giteabot
9 months ago
No account linked to committer's email address
|
|
|
|
|
|
|
|
return fmt.Errorf("updateRepository: %w", err) |
|
|
return fmt.Errorf("updateRepository: %w", err) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if err = repo_module.SyncReleasesWithTags(repo, gitRepo); err != nil { |
|
|
|
|
|
return fmt.Errorf("SyncReleasesWithTags: %w", err) |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
return nil |
|
|
return nil |
|
|
} |
|
|
} |
|
|
|
|
|
|