Skip to content

Commit

Permalink
Fix publishing homebrew
Browse files Browse the repository at this point in the history
  • Loading branch information
xoofx committed Mar 3, 2022
1 parent 2a07ffb commit e2e0ac0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dotnet-releaser/ReleaserApp.Publishing.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ private async Task PublishPackagesAndChangelog(string? nugetApiToken, BuildInfor
Warn("Warning, publishing a new Homebrew formula requires to use --github-token-extra. Using --github-token as a fallback but it might fail!");
}

var brewFormula = HomebrewHelper.CreateFormula(devHosting, packageInfo, entriesToPublish);
var brewFormula = HomebrewHelper.CreateFormula(devHostingExtra, packageInfo, entriesToPublish);

if (brewFormula is not null)
{
await devHosting.UploadHomebrewFormula(hostingConfiguration.User, _config.Brew.Home, packageInfo, brewFormula);
await devHostingExtra.UploadHomebrewFormula(hostingConfiguration.User, _config.Brew.Home, packageInfo, brewFormula);
}
}
}
Expand Down

0 comments on commit e2e0ac0

Please sign in to comment.