We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b950ae commit 91159edCopy full SHA for 91159ed
tools/archive-build.sh
@@ -1,7 +1,7 @@
1
#!/bin/bash
2
3
-IDF_COMMIT=$(git -C "$IDF_PATH" rev-parse --short HEAD)
4
-IDF_BRANCH=$(git -C "$IDF_PATH" symbolic-ref --short HEAD)
+IDF_COMMIT=$(git -C "$IDF_PATH" rev-parse --short HEAD || echo "")
+IDF_BRANCH=$(git -C "$IDF_PATH" symbolic-ref --short HEAD || echo "")
5
6
idf_version_string=${IDF_BRANCH//\//_}"-$IDF_COMMIT"
7
archive_path="dist/arduino-esp32-libs-$idf_version_string.tar.gz"
0 commit comments