Skip to content

Commit 8fea477

Browse files
committed
basex: update livecheck
The existing `livecheck` block for `basex` works but the first-party download page links to the file we use in the `stable` URL, so it may be better to check that. Theoretically, livecheck may surface a new version before the download page is updated if upstream uploads the files first, so checking the download page may be a more reliable indicator that a version is released (if it's kept up to date).
1 parent a9ca711 commit 8fea477

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Formula/b/basex.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ class Basex < Formula
77
license "BSD-3-Clause"
88

99
livecheck do
10-
url "https://files.basex.org/releases/"
11-
regex(%r{href=.*?v?(\d+(?:\.\d+)+)/?["' >]}i)
10+
url "https://basex.org/download/"
11+
regex(%r{href=.*?/v?(\d+(?:\.\d+)+)/BaseX[._-]?v?(\d+(?:\.\d+)*)\.zip}i)
1212
end
1313

1414
bottle do

0 commit comments

Comments
 (0)