1
0
mirror of https://github.com/j-a-n/raspberrymatic-addon-rmupdate.git synced 2023-10-10 13:37:40 +02:00

Fix link to release info page for experimental versions

This commit is contained in:
Jan Schneider 2020-06-27 08:13:42 +02:00
parent d682512164
commit d7ff80c106

View File

@ -1243,6 +1243,9 @@ proc ::rmupdate::get_firmware_info {} {
set url "" set url ""
catch { set url $downloads($v) } catch { set url $downloads($v) }
set info_url "${release_url}/tag/${v}" set info_url "${release_url}/tag/${v}"
if {$experimental == "true"} {
set info_url "${release_url}/tag/snapshots"
}
append json "\{\"version\":\"${v}\",\"installed\":${installed},\"latest\":${latest},\"experimental\":${experimental},\"supported\":${supported},\"url\":\"${url}\",\"info_url\":\"${info_url}\",\"image\":\"${image}\"\}," append json "\{\"version\":\"${v}\",\"installed\":${installed},\"latest\":${latest},\"experimental\":${experimental},\"supported\":${supported},\"url\":\"${url}\",\"info_url\":\"${info_url}\",\"image\":\"${image}\"\},"
set latest "false" set latest "false"
} }