mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-02 09:52:18 +00:00
137c333f7a
(cherry picked from commit 82c669f234)
Signed-off-by: Gilver <rockgrub@disroot.org>
Co-authored-by: Gilver <rockgrub@disroot.org>
9 lines
256 B
Plaintext
9 lines
256 B
Plaintext
let v = [];
|
|
// Only find versions ending in .0. Stable WINE always ends in .0
|
|
for matches in find_all("[\\d.]+\\.0", get("https://dl.winehq.org/wine/source/")) {
|
|
v += matches[0].parse_float();
|
|
}
|
|
v.dedup();
|
|
v.sort();
|
|
rpm.version(`${v[v.len()-1]}`);
|