Skip to content

Commit

Permalink
Merge pull request #19008 from daeho-ro/prerelease-update
Browse files Browse the repository at this point in the history
fix prerelease check to allow standard release
  • Loading branch information
MikeMcQuaid authored Dec 27, 2024
2 parents 3102e42 + 05b97cd commit 69849e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/utils/shared_audits.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def self.github_release(user, repo, tag, formula: nil, cask: nil)

return "#{tag} is a GitHub pre-release." if release["prerelease"] && [version, "all", "any"].exclude?(exception)

if !release["prerelease"] && [version, "any"].exclude?(exception)
if !release["prerelease"] && exception && [version, "any"].exclude?(exception)
return "#{tag} is not a GitHub pre-release but '#{name}' is in the GitHub prerelease allowlist."
end

Expand Down

0 comments on commit 69849e1

Please sign in to comment.