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
parent
commit
302c03c4a9
No account linked to committer's email address
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      services/repository/adopt.go

+ 4
- 0
services/repository/adopt.go View File

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
} }



Loading…
Cancel
Save