Skip to content

Commit 3b35762

Browse files
authored
Merge pull request espressif#6 from lbernstone/current_commit
script to get last update commit
2 parents b78b168 + 1b87f46 commit 3b35762

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: 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)