Skip to content

Commit

Permalink
Removed the 'dirty' from version string.
Browse files Browse the repository at this point in the history
Changing #defines in 'aquacontrol32.ino' made the version dirty which is undesired.
  • Loading branch information
CelliesProjects committed Apr 6, 2018
1 parent 10ab663 commit c9f819a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion compile.sh
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions flash.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c9f819a

Please sign in to comment.