From 601566c4036bb78b5e2b291f2ea6a8779455834f Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sat, 11 Sep 2021 22:19:16 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20updater=20logics=C2=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/updater.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/updater.sh b/.github/workflows/updater.sh index 08e75b0..e139f0c 100755 --- a/.github/workflows/updater.sh +++ b/.github/workflows/updater.sh @@ -56,12 +56,9 @@ echo "Handling asset at $asset_url" # Here we base the source file name upon a unique keyword in the assets url (admin vs. update) # Leave $src empty to ignore the asset case $asset_url in - *"admin"*) + *"node-red-"*) src="app" ;; - *"update"*) - src="app-upgrade" - ;; *) src="" ;; @@ -89,7 +86,7 @@ extension=${filename##*.} fi # Rewrite source file -cat < conf/app.src +cat < conf/$src.src SOURCE_URL=$DOWNLOAD_URL SOURCE_SUM=$checksum SOURCE_SUM_PRG=sha256sum