Skip to content

Commit

Permalink
Fix error with check for --github-token-extra (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
xoofx committed Mar 3, 2022
1 parent 3fffa9c commit e4513d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dotnet-releaser/ReleaserApp.Publishing.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ private async Task PublishPackagesAndChangelog(string? nugetApiToken, BuildInfor
UpdateHomebrewConfigurationFromPackage(packageInfo);

// Log an error if we don't have an extra access for homebrew
if (devHostingExtra is not null)
if (devHostingExtra is null)
{
devHostingExtra = devHosting;
Warn("Warning, publishing a new Homebrew formula requires to use --github-token-extra. Using --github-token as a fallback but it might fail!");
Expand Down

0 comments on commit e4513d1

Please sign in to comment.