Skip to content

Commit 9917c39

Browse files
authored
Update archive-build.sh
1 parent 5ca0e94 commit 9917c39

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/archive-build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
#!/bin/bash
22

33
IDF_COMMIT=$(git -C "$IDF_PATH" rev-parse --short HEAD || echo "")
4+
IDF_Commit_short=${IDF_Commit::7}
45
IDF_BRANCH=$(git -C "$IDF_PATH" symbolic-ref --short HEAD || git -C "$IDF_PATH" tag --points-at HEAD || echo "")
56

6-
idf_version_string=${IDF_BRANCH//\//_}"-$IDF_COMMIT"
7+
idf_version_string=${IDF_BRANCH//\//_}"-$IDF_Commit_short"
78
archive_path="dist/arduino-esp32-libs-solo1-$idf_version_string.tar.gz"
89
build_archive_path="dist/arduino-esp32-build-solo1-$idf_version_string.tar.gz"
910
pio_archive_path="dist/framework-arduinoespressif32-solo1-$idf_version_string.tar.gz"

0 commit comments

Comments
 (0)