Skip to content

Commit

Permalink
Merge pull request #196443 from Homebrew/julia-update-livecheck
Browse files Browse the repository at this point in the history
julia: update livecheck
  • Loading branch information
BrewTestBot authored Nov 2, 2024
2 parents 52772b6 + 48407af commit f6cfb7d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Formula/j/julia.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,13 @@ class Julia < Formula
license all_of: ["MIT", "BSD-3-Clause", "Apache-2.0", "BSL-1.0"]
head "https://github.com/JuliaLang/julia.git", branch: "master"

# Upstream creates GitHub releases for both stable and LTS versions, so the
# "latest" release on GitHub may be an LTS version instead of a "stable"
# version. This checks the first-party download page, which links to the
# `stable` tarballs from the newest releases on GitHub.
livecheck do
url :stable
strategy :github_latest
url "https://julialang.org/downloads/"
regex(/href=.*?julia[._-]v?(\d+(?:\.\d+)+)[._-]full\.t/i)
end

bottle do
Expand Down

0 comments on commit f6cfb7d

Please sign in to comment.