Update handling with homeassistant/machine version handling
This commit is contained in:
parent
0ede1d8356
commit
34893a2510
1 changed files with 8 additions and 2 deletions
|
@ -20,6 +20,7 @@ IMAGE=""
|
|||
BUILD_LIST=()
|
||||
BUILD_TYPE="addon"
|
||||
BUILD_TASKS=()
|
||||
BUILD_MACHINE=()
|
||||
|
||||
#### Misc functions ####
|
||||
|
||||
|
@ -77,9 +78,9 @@ Options:
|
|||
Build a hassio supervisor.
|
||||
--homeassistant-base
|
||||
Build a Home-Assistant base image.
|
||||
--homeassistant
|
||||
--homeassistant <VERSION>
|
||||
Build the generic release for a Home-Assistant.
|
||||
--homeassistant-machine
|
||||
--homeassistant-machine <VERSION=ALL,X,Y>
|
||||
Build the machine based image for a release.
|
||||
EOF
|
||||
|
||||
|
@ -389,10 +390,15 @@ while [[ $# -gt 0 ]]; do
|
|||
--homeassistant)
|
||||
BUILD_TYPE="homeassistant"
|
||||
DOCKER_CACHE="false"
|
||||
VERSION=$2
|
||||
shift
|
||||
;;
|
||||
--homeassistant-machine)
|
||||
BUILD_TYPE="homeassistant-machine"
|
||||
DOCKER_CACHE="false"
|
||||
VERSION="$(echo "$2" | cut -d '=' -f 1)"
|
||||
IFS="," read -a BUILD_MACHINE <<<"$(echo "$2" | cut -d '=' -f 1)"
|
||||
shift
|
||||
;;
|
||||
|
||||
*)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue