From c9f819ac92fac4a746ffab606294f64a5cffc9b7 Mon Sep 17 00:00:00 2001 From: Cellie Date: Fri, 6 Apr 2018 18:51:57 +0200 Subject: [PATCH] Removed the 'dirty' from version string. Changing #defines in 'aquacontrol32.ino' made the version dirty which is undesired. --- compile.sh | 2 +- flash.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/compile.sh b/compile.sh index 11f55ec..5039452 100755 --- a/compile.sh +++ b/compile.sh @@ -1,3 +1,3 @@ -echo "const char * sketchVersion = \"$(git describe --tags --always --dirty)\";" > gitTagVersion.h +echo "const char * sketchVersion = \"$(git describe --tags --always)\";" > gitTagVersion.h ~/arduino-1.8.5/arduino --verify test.ino rm gitTagVersion.h diff --git a/flash.sh b/flash.sh index c385d4d..41d3031 100755 --- a/flash.sh +++ b/flash.sh @@ -1,3 +1,3 @@ -echo "const char * sketchVersion = \"$(git describe --tags --always --dirty)\";" > gitTagVersion.h -~/arduino-1.8.5/arduino --upload test.ino --pref custom_DebugLevel=esp32_none +echo "const char * sketchVersion = \"$(git describe --tags --always)\";" > gitTagVersion.h +~/arduino-1.8.5/arduino --upload test.ino --pref custom_DebugLevel=esp32_info rm gitTagVersion.h