Merge pull request #6 from lbernstone/current_commit

script to get last update commit
This commit is contained in:
Me No Dev 2019-11-22 11:37:03 +02:00 committed by GitHub
commit 3b35762475
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
tools/current_commit.sh Executable file
View 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