diff --git a/src/dotnet-releaser/ReleaserApp.Publishing.cs b/src/dotnet-releaser/ReleaserApp.Publishing.cs index fb97da4..3d971c5 100644 --- a/src/dotnet-releaser/ReleaserApp.Publishing.cs +++ b/src/dotnet-releaser/ReleaserApp.Publishing.cs @@ -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!");