Skip to content

Commit 2482962

Browse files
committed
script to get last update commit
1 parent 7dbfa98 commit 2482962

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/current_commit.sh

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
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)
2+
echo Current commit is $IDF_COMMIT

0 commit comments

Comments
 (0)