File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -36,9 +36,6 @@ AR_REPO="$AR_USER/arduino-esp32"
36
36
# Arduino branch to use
37
37
AR_BRANCH=" master"
38
38
39
- rm -rf release-info.txt
40
- echo " Framework built from Tasmota IDF branch $IDF_BRANCH and $AR_REPO branch $AR_BRANCH " >> release-info.txt
41
-
42
39
AR_REPO_URL=" https://github.com/$AR_REPO .git"
43
40
if [ -n $GITHUB_TOKEN ]; then
44
41
AR_REPO_URL=" https://$GITHUB_TOKEN @github.com/$AR_REPO .git"
@@ -53,6 +50,12 @@ AR_ESPTOOL_PY="$AR_TOOLS/esptool.py"
53
50
AR_GEN_PART_PY=" $AR_TOOLS /gen_esp32part.py"
54
51
AR_SDK=" $AR_TOOLS /sdk/$IDF_TARGET "
55
52
53
+ IDF_COMMIT=$( git -C " $IDF_PATH " rev-parse --short HEAD || echo " " )
54
+ AR_COMMIT=$( git -C " $AR_COMPS /arduino" rev-parse --short HEAD || echo " " )
55
+
56
+ rm -rf release-info.txt
57
+ echo " Framework built from Tasmota IDF branch $IDF_BRANCH commit $IDF_COMMIT and $AR_REPO branch $AR_BRANCH commit $AR_COMMIT " >> release-info.txt
58
+
56
59
function get_os(){
57
60
OSBITS=` arch`
58
61
if [[ " $OSTYPE " == " linux" * ]]; then
You can’t perform that action at this time.
0 commit comments