Skip to content

Commit 511c044

Browse files
committed
fix build
1 parent f8d8e62 commit 511c044

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

rubberduckvba.Server/ContentSynchronization/Pipeline/Sections/SyncTags/LoadGitHubTagsBlock.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public LoadGitHubTagsBlock(PipelineSection<SyncContext> parent, CancellationToke
1616

1717
public override async Task<SyncContext> TransformAsync(SyncRequestParameters input)
1818
{
19-
var githubTags = await _github.GetAllTagsAsync(); // does not get the assets
19+
var githubTags = await _github.GetAllTagsAsync(Context.RubberduckDbMain.Name);
2020
var (gitHubMain, gitHubNext, gitHubOthers) = githubTags.GetLatestTags();
2121

2222
Context.LoadGitHubTags(gitHubMain, gitHubNext, gitHubOthers);

rubberduckvba.Server/ContentSynchronization/Pipeline/Sections/SyncXmldoc/SyncXmldocSection.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ protected override async Task ActionAsync(SyncRequestParameters input)
9090
{
9191
Context.LoadParameters(input);
9292

93-
var githubTags = await _github.GetAllTagsAsync();
93+
var dbMain = await _content.GetLatestTagAsync(RepositoryId.Rubberduck, includePreRelease: false);
94+
var githubTags = await _github.GetAllTagsAsync(dbMain.Name);
9495

9596
// LoadInspectionDefaultConfig
9697
var config = await _github.GetCodeAnalysisDefaultsConfigAsync();
@@ -115,7 +116,6 @@ await Task.WhenAll([
115116

116117
await Task.Delay(TimeSpan.FromSeconds(2)); // just in case the tags job was scheduled at/around the same time
117118

118-
var dbMain = await _content.GetLatestTagAsync(RepositoryId.Rubberduck, includePreRelease: false);
119119
var dbNext = await _content.GetLatestTagAsync(RepositoryId.Rubberduck, includePreRelease: true);
120120

121121
var dbTags = _tagServices.GetAllTags().ToDictionary(e => e.Name);

0 commit comments

Comments
 (0)