Merge pull request #6 from lbernstone/current_commit
script to get last update commit
This commit is contained in:
commit
3b35762475
1 changed files with 2 additions and 0 deletions
2
tools/current_commit.sh
Executable file
2
tools/current_commit.sh
Executable file
|
|
@ -0,0 +1,2 @@
|
|||
IDF_COMMIT=$(wget -q -O- "https://github.com/espressif/arduino-esp32/search?q=update+idf&type=Commits" | grep -i "update idf" | grep -e "to [0-9a-f]*" | sed "s/^.*to \([0-9a-f]*\).*/\1/" | head -1)
|
||||
echo Current commit is $IDF_COMMIT
|
||||
Loading…
Reference in a new issue