wok rev 25690
mmv: inserted current_version()
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 15 15:20:24 2024 +0100 (7 months ago) |
parents | b70ccaef1b57 |
children | 120dd6158093 |
files | mmv/receipt |
line diff
1.1 --- a/mmv/receipt Sat Apr 13 10:48:47 2024 +0100 1.2 +++ b/mmv/receipt Mon Apr 15 15:20:24 2024 +0100 1.3 @@ -14,6 +14,13 @@ 1.4 DEPENDS="gc" 1.5 BUILD_DEPENDS="gc-dev" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - 'https://github.com/rrthomas/mmv/releases/latest' 2>/dev/null | \ 1.11 + sed '/<title/!d;s|.*Release v||;s| .*||' 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {