From 9ba304cf112f76f31a79537b1cd6b3855bbc28d7 Mon Sep 17 00:00:00 2001 From: lolouk44 Date: Tue, 24 Nov 2020 10:14:07 +0000 Subject: [PATCH] 0.1.13 --- mi-scale/CHANGELOG.md | 4 ++++ mi-scale/Dockerfile | 2 +- mi-scale/config.json | 2 +- mi-scale/dockerscripts/cmd.sh | 2 +- mi-scale/dockerscripts/entrypoint.sh | 2 +- mi-scale/src/wrapper.sh | 2 +- 6 files changed, 9 insertions(+), 5 deletions(-) diff --git a/mi-scale/CHANGELOG.md b/mi-scale/CHANGELOG.md index e990561..4bd0482 100644 --- a/mi-scale/CHANGELOG.md +++ b/mi-scale/CHANGELOG.md @@ -1,3 +1,7 @@ +## [0.1.13] - 2020-11-24 +### Changed +- Fixed executable files (fixes https://github.com/lolouk44/hassio-addons/issues/23) + ## [0.1.12] - 2020-11-23 ### Changed - Fixed workflow for automatic docker images building diff --git a/mi-scale/Dockerfile b/mi-scale/Dockerfile index 61ba59b..1c7cefd 100644 --- a/mi-scale/Dockerfile +++ b/mi-scale/Dockerfile @@ -1,5 +1,5 @@ FROM python:3.8-slim -LABEL io.hass.version="0.1.12" io.hass.type="addon" io.hass.arch="armhf|aarch64|i386|amd64" +LABEL io.hass.version="0.1.13" io.hass.type="addon" io.hass.arch="armhf|aarch64|i386|amd64" WORKDIR /opt/miscale COPY src /opt/miscale diff --git a/mi-scale/config.json b/mi-scale/config.json index e95841b..7ed1175 100644 --- a/mi-scale/config.json +++ b/mi-scale/config.json @@ -1,6 +1,6 @@ { "name": "Xiaomi Mi Scale", - "version": "0.1.12", + "version": "0.1.13", "slug": "xiaomi_mi_scale", "description": "Read weight measurements from Xiamomi scale via BLE", "url": "https://github.com/lolouk44/xiaomi_mi_scale_ha_add_on", diff --git a/mi-scale/dockerscripts/cmd.sh b/mi-scale/dockerscripts/cmd.sh index 5629f8e..066e7f4 100644 --- a/mi-scale/dockerscripts/cmd.sh +++ b/mi-scale/dockerscripts/cmd.sh @@ -1,2 +1,2 @@ set -e -python3 -u /opt/miscale/Xiaomi_Scale.py \ No newline at end of file +python3 -u /opt/miscale/Xiaomi_Scale.py diff --git a/mi-scale/dockerscripts/entrypoint.sh b/mi-scale/dockerscripts/entrypoint.sh index 4ba1611..5dde05c 100644 --- a/mi-scale/dockerscripts/entrypoint.sh +++ b/mi-scale/dockerscripts/entrypoint.sh @@ -1,3 +1,3 @@ #!/bin/sh set -e -exec "$@" +exec "$@" \ No newline at end of file diff --git a/mi-scale/src/wrapper.sh b/mi-scale/src/wrapper.sh index a0d2002..d35aeb6 100644 --- a/mi-scale/src/wrapper.sh +++ b/mi-scale/src/wrapper.sh @@ -22,4 +22,4 @@ export USER3_HEIGHT=150 # Height (in cm) of the user export USER3_DOB=1990-01-01 # DOB (in yyyy-mm-dd format) MY_PWD="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" -python3 $MY_PWD/Xiaomi_Scale.py \ No newline at end of file +python3 $MY_PWD/Xiaomi_Scale.py