netbeans: update livecheck

The existing `livecheck` block URL for `netbeans` redirects from
https://netbeans.apache.org/download/index.html to
https://netbeans.apache.org/front/main/download/index.html. This
updates the URL to avoid the redirection and omit the trailing
`index.html` (as the page loads fine without it).
This commit is contained in:
Sam Ford
2024-03-01 21:01:39 -05:00
parent 57efc26290
commit cc525814eb
+1 -1
View File
@@ -10,7 +10,7 @@ cask "netbeans" do
# Major releases sometimes only use the major version (13) instead of
# major/minor (13.0).
livecheck do
url "https://netbeans.apache.org/download/index.html"
url "https://netbeans.apache.org/front/main/download/"
regex(/>\s*Apache\s*NetBeans\s*v?(\d+(?:\.\d+)*)\s*</im)
end