File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,9 @@ AR_REPO="$AR_USER/arduino-esp32"
40
40
# Arduino branch to use
41
41
AR_BRANCH=" release/v2.x"
42
42
43
+ # Arduino commit to use
44
+ # $AR_COMMIT =
45
+
43
46
AR_REPO_URL=" https://github.com/$AR_REPO .git"
44
47
IDF_LIBS_REPO_URL=" https://github.com/tasmota/esp32-arduino-libs.git"
45
48
if [ -n $GITHUB_TOKEN ]; then
64
67
IDF_COMMIT=$( git -C " $IDF_PATH " rev-parse --short HEAD || echo " " )
65
68
fi
66
69
67
- AR_COMMIT=$( git -C " $AR_COMPS /arduino" rev-parse --short HEAD || echo " " )
70
+ if [ " $AR_COMMIT " ]; then
71
+ echo " Using commit $AR_COMMIT for Arduino"
72
+ else
73
+ AR_COMMIT=$( git -C " $AR_COMPS /arduino" rev-parse --short HEAD || echo " " )
74
+ fi
68
75
69
76
rm -rf release-info.txt
70
77
echo " Framework built from Tasmota IDF branch $IDF_BRANCH commit $IDF_COMMIT and $AR_REPO branch $AR_BRANCH commit $AR_COMMIT " >> release-info.txt
You can’t perform that action at this time.
0 commit comments