esp32-arduino-lib-builder/tools/current_commit.sh

3 lines
233 B
Bash
Raw Normal View History

2022-07-07 08:53:01 +02:00
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