From 68df6b05884acd1b40d594431d8a65b31e86f5e6 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 21 Feb 2021 09:43:51 +0100 Subject: [PATCH] add --- addons_updater/run.sh | 2 +- joal/config.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons_updater/run.sh b/addons_updater/run.sh index 736e77800..e14b82a86 100644 --- a/addons_updater/run.sh +++ b/addons_updater/run.sh @@ -78,7 +78,7 @@ for addons in $(bashio::config "addon|keys"); do #Change all instances of version LOGINFO="... $SLUG : updating files" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi files=$(grep -rl ${CURRENT} /data/${BASENAME}/${SLUG}) && echo $files | xargs sed -i "s/${CURRENT}/${LASTVERSION}/g" # change all tags in all addon files - jq ".version = ${LASTVERSION}" /data/${BASENAME}/${SLUG}/config.json >/dev/null # Correct config upstream + jq ".version = ${LASTVERSION//\"}" /data/${BASENAME}/${SLUG}/config.json >/dev/null # Correct config upstream #Update changelog touch /data/${BASENAME}/${SLUG}/CHANGELOG.md diff --git a/joal/config.json b/joal/config.json index 56cd73d9e..1d97f67b9 100644 --- a/joal/config.json +++ b/joal/config.json @@ -1,7 +1,7 @@ { "name": "Joal", "version": "2.1.22-dev2", - "upstream": "2.1.24", + "upstream": "2.1.22", "slug": "joal", "description": "An open source command line RatioMaster with WebUI", "url": "https://github.com/alexbelgium/hassio-addons",