File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ GIT_REV="$(git log --pretty=format:'%h' -n 1)"
33BUILD_DATE=" $( date +%Y-%m-%d:%H:%M:%S) "
44COMPILEINFO=" $( echo " +${GIT_REV} +${BUILD_DATE} " | tr -d ' "' ) "
55
6- VERSION=" $( grep " const AppVersion" main.go | cut -f4 -d " " | tr -d ' "' ) "
6+ VERSION=" $( grep " const AppVersion" main.go | cut -f4 -d " " | tr -d ' "' ) "
77
88# Remember to set GOROOT accordingly with your installation
99
@@ -19,7 +19,7 @@ mkdir distrib
1919for folder in " ${target_folders[@]} "
2020do
2121
22- IFS=_ read -r -a fields <<< " $folder"
22+ IFS=_ read -r -a fields <<< " $folder"
2323 mkdir -p " distrib/${folder} /bin/"
2424 GOOS=" ${fields[0]} " GOARCH=" ${fields[1]} " go build -o " distrib/${folder} /bin/arduinoOTA" -ldflags " -X main.compileInfo=$COMPILEINFO " main.go
2525done
You can’t perform that action at this time.
0 commit comments