From dafa38423836bc7301a502fbff7b15c769694f5d Mon Sep 17 00:00:00 2001 From: hobbyquaker Date: Thu, 31 May 2018 21:32:22 +0200 Subject: [PATCH] fix update check --- addon_files/node-red/update_check.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addon_files/node-red/update_check.tcl b/addon_files/node-red/update_check.tcl index 01946913..35837ca9 100755 --- a/addon_files/node-red/update_check.tcl +++ b/addon_files/node-red/update_check.tcl @@ -17,7 +17,7 @@ if { [info exists cmd ] && $cmd == "download"} { puts "" } else { catch { - [regexp "tag_name\": \"v(\[0-9\]+\.\[0-9\]+\.\[0-9\]+\[a-z0-9-.\]*)" [ exec /usr/bin/env wget -qO- --no-check-certificate $checkURL ] dummy newversion] + [regexp "tag_name\": \"v(\[0-9\]+\.\[0-9\]+\.\[0-9\]+(-\[a-zA-Z\]+.\[0-9\]+)?)" [ exec /usr/bin/env wget -qO- --no-check-certificate $checkURL ] dummy newversion] } if { [info exists newversion] } { puts -nonewline $newversion