wok diff net6/receipt @ rev 25608

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 20 09:05:42 2023 +0000 (10 months ago)
parents 241fb98cab1c
children
line diff
     1.1 --- a/net6/receipt	Tue Feb 15 18:29:48 2022 +0000
     1.2 +++ b/net6/receipt	Thu Jul 20 09:05:42 2023 +0000
     1.3 @@ -17,8 +17,8 @@
     1.4  # What is the latest version available today?
     1.5  current_version()
     1.6  {
     1.7 -	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
     1.8 -	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
     1.9 +	wget -O - https://github.com/gobby/net6/releases 2>/dev/null | \
    1.10 +	sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
    1.11  }
    1.12  
    1.13  # Rules to configure and make the package.