diff options
author | John Olheiser <42128690+jolheiser@users.noreply.github.com> | 2019-12-11 00:09:06 -0600 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2019-12-11 14:09:06 +0800 |
commit | 3bf5a07537a53c6903b39268559c5c76bee85c12 (patch) | |
tree | 0cd1f7602c09f4bf919a7fe87be84829bc5197c3 /modules/migrations/base | |
parent | c3d31e55346329a221cc0ae37d89d1fba11ea737 (diff) | |
download | gitea-3bf5a07537a53c6903b39268559c5c76bee85c12.tar.gz gitea-3bf5a07537a53c6903b39268559c5c76bee85c12.zip |
Only sync tags after all batches (#9319)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Diffstat (limited to 'modules/migrations/base')
-rw-r--r-- | modules/migrations/base/uploader.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/migrations/base/uploader.go b/modules/migrations/base/uploader.go index ae1be84b88..7d35d136a1 100644 --- a/modules/migrations/base/uploader.go +++ b/modules/migrations/base/uploader.go @@ -11,7 +11,7 @@ type Uploader interface { CreateRepo(repo *Repository, opts MigrateOptions) error CreateTopics(topic ...string) error CreateMilestones(milestones ...*Milestone) error - CreateReleases(releases ...*Release) error + CreateReleases(syncTags bool, releases ...*Release) error CreateLabels(labels ...*Label) error CreateIssues(issues ...*Issue) error CreateComments(comments ...*Comment) error |