From b0940979663f2c68a7bce41b5de35bda6a10ac3c Mon Sep 17 00:00:00 2001 From: Tyler Date: Mon, 13 Feb 2023 00:35:31 -0500 Subject: [PATCH] Add debug logging to build.sh --- build.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build.sh b/build.sh index b6dd3c2..1e77bd7 100755 --- a/build.sh +++ b/build.sh @@ -5,6 +5,8 @@ apt-get -y install git base_dir=$(pwd) +echo "Cloning Tasmota" + git clone https://github.com/arendst/Tasmota.git /tasmota cd /tasmota @@ -13,9 +15,13 @@ if [ -z "$TASMOTA_VERSION" ]; then TASMOTA_VERSION=$(wget -qO - https://api.github.com/repos/arendst/Tasmota/releases/latest | grep -oP 'tag_name"\s*:\s*"\K[^"]+') fi +echo "Checking out version $TASMOTA_VERSION" + git checkout $TASMOTA_VERSION +echo "Setting up config override" rm -f /tasmota/tasmota/user_config_override.h cp $base_dir/user_config_override.h /tasmota/tasmota/user_config_override.h +echo "Building using PlatformIO" pio run -e tasmota \ No newline at end of file