Skip to content

Commit

Permalink
Merge pull request #17893 from Homebrew/release_utils_github
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid committed Jul 29, 2024
2 parents cab7ec9 + 96cbc7b commit 3b9bec8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Library/Homebrew/dev-cmd/release.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ class Release < AbstractCommand
def run
safe_system "git", "-C", HOMEBREW_REPOSITORY, "fetch", "origin" if Homebrew::EnvConfig.no_auto_update?

require "utils/github"

begin
latest_release = GitHub.get_latest_release "Homebrew", "brew"
rescue GitHub::API::HTTPNotFoundError
Expand Down

0 comments on commit 3b9bec8

Please sign in to comment.