Release v5.0.3

This commit is contained in:
tsightler
2022-08-04 11:56:42 -04:00
parent 7c14344dc1
commit 8c15ded4c1
4 changed files with 153 additions and 150 deletions

View File

@@ -8,31 +8,26 @@
# for the detected environment.
# ==============================================================================
# Short delay to keep log messages from overlapping with s6 logs
sleep .5
# If options.json exist we are running as addon
if [ -f /data/options.json ]; then
echo "-------------------------------------------------------"
echo "| Ring-MQTT with Video Streaming |"
echo "| Addon for Home Assistant |"
echo "| |"
echo "| Report issues at: |"
echo "| https://github.com/tsightler/ring-mqtt-hassio-addon |"
echo "-------------------------------------------------------"
RUNMODE_BANNER_DESCRIPTION="Addon for Home Assistant "
# Use bashio to get configured branch
export BRANCH=$(bashio::config "branch")
else
# No options.json found, assume we are in running in standard Docker
echo "-------------------------------------------------------"
echo "| Ring-MQTT with Video Streaming |"
echo "| Docker Edition |"
echo "| |"
echo "| Report issues at: |"
echo "| https://github.com/tsightler/ring-mqtt |"
echo "-------------------------------------------------------"
RUNMODE_BANNER_DESCRIPTION="Docker Edition "
fi
# Short delay to keep log messages from overlapping with s6 logs
sleep .5
echo "-------------------------------------------------------"
echo "| Ring-MQTT with Video Streaming |"
echo "| ${RUNMODE_BANNER_DESCRIPTION} |"
echo "| |"
echo "| For support questions please visit: |"
echo "| https://github.com/tsightler/ring-mqtt/discussions |"
echo "-------------------------------------------------------"
if [ -v BRANCH ]; then
if [ "${BRANCH}" = "latest" ] || [ "${BRANCH}" = "dev" ]; then
/app/ring-mqtt/scripts/update2branch.sh