mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-22 12:36:29 +01:00
silent
This commit is contained in:
@@ -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 --arg LASTVERSION "${LASTVERSION}" '.version = ${LASTVERSION}' /data/${BASENAME}/${SLUG}/config.json # Correct config upstream
|
||||
jq --arg LASTVERSION "${LASTVERSION}" '.version = ${LASTVERSION}' /data/${BASENAME}/${SLUG}/config.json >/dev/null 2>/dev/null # Correct config upstream
|
||||
|
||||
#Update changelog
|
||||
touch /data/${BASENAME}/${SLUG}/CHANGELOG.md
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "Joal",
|
||||
"version": "2.1.24-dev2",
|
||||
"upstream": "2.1.24",
|
||||
"version": "2.1.22-dev2",
|
||||
"upstream": "2.1.22",
|
||||
"slug": "joal",
|
||||
"description": "An open source command line RatioMaster with WebUI",
|
||||
"url": "https://github.com/alexbelgium/hassio-addons",
|
||||
|
||||
Reference in New Issue
Block a user