diff --git a/compile.sh b/compile.sh index 5039452..558d725 100755 --- a/compile.sh +++ b/compile.sh @@ -1,3 +1,5 @@ +echo Compiling aquacontrol32 version: $(git describe --tags --always) +echo 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 a824a36..d7d790c 100755 --- a/flash.sh +++ b/flash.sh @@ -1,3 +1,5 @@ +echo Compiling and flashing aquacontrol32 version: $(git describe --tags --always) +echo echo "const char * sketchVersion = \"$(git describe --tags --always)\";" > gitTagVersion.h ~/arduino-1.8.5/arduino --upload test.ino --pref custom_DebugLevel=esp32_none --port /dev/ttyUSB0 rm gitTagVersion.h