more fixes and polish, inching closer to release
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
||||
echo "esp-idf-tools install dir: $ESPIDF_INSTALLDIR"
|
||||
echo "esp-idf-tools custom_bin dir: $ESPIDF_INSTALLDIR/.custom_bin/"
|
||||
echo "esp-idf-tools version: $(cat $ESPIDF_INSTALLDIR/.custom_bin/version.txt)"
|
||||
echo "esp-idf-tools last install: $(tail -1 $ESPIDF_INSTALLDIR/.custom_bin/version-data.log)"
|
||||
echo "esp-idf-tools last install: $(tail -1 $ESPIDF_INSTALLDIR/version-data.log)"
|
||||
echo "esp-idf path: $IDF_PATH"
|
||||
echo "esp-idf version: $ESP_IDF_VERSION"
|
||||
echo "esp-idf python path: $IDF_PYTHON_ENV_PATH"
|
||||
@@ -9,7 +9,7 @@ echo "openocd scripts: $OPENOCD_SCRIPTS"
|
||||
echo "esp-idf rom elf dir: $ESP_ROM_ELF_DIR"
|
||||
echo "esp-idf-deactivate file path $IDF_DEACTIVATE_FILE_PATH"
|
||||
echo "esp-idf install cmd: $IDF_TOOLS_INSTALL_CMD"
|
||||
echo "esp-idf export cmd: $IDF_TOOLS_EXPORT_CMD"
|
||||
echo "esp-idf export cmd: $IDF_TOOLS_EXPORT_CMD"es
|
||||
echo "port: $ESPPORT"
|
||||
echo "baud: $ESPBAUD"
|
||||
echo "target device: $ESPTARGET"
|
||||
+10
-10
@@ -359,12 +359,12 @@ function handleDownloadInstall() {
|
||||
gitHashChk=$?
|
||||
|
||||
# if gitDataLog file doesnt exist, initialize with header
|
||||
if [[ ! -f "$gitDataLog" ]]; then
|
||||
writeToLog "$gitDataLog not found, initializing with header"
|
||||
echo "date | esp-idf branch | esp-idf-tools version | action" > "$gitDataLog";
|
||||
if [[ ! -f "$versionData" ]]; then
|
||||
writeToLog "$versionData not found, initializing with header"
|
||||
echo "date | esp-idf branch | esp-idf-tools version | action" > "$versionData";
|
||||
fi
|
||||
|
||||
# date | esp-idf branch | esp-idf-tools version | action
|
||||
# date ddmmYYYY H:M:S (unix seconds) | esp-idf branch | esp-idf-tools version | action
|
||||
gitDataLog="$(date '+%d/%m/%Y %H:%M:%S %Z (%s)') | $commitHash | $gitBranch | $scriptVers | $action"
|
||||
writeToLog "$gitDataLog"
|
||||
echo "$gitDataLog" >> $versionData
|
||||
@@ -418,13 +418,13 @@ function handleEmptyLogs() {
|
||||
rm -f $versionData
|
||||
echo -e "\tReturn status: ${?}\n"
|
||||
|
||||
echo "Creating empty file at $log"
|
||||
touch $log
|
||||
echo -e "\tReturn status: ${?}\n"
|
||||
# echo "Creating empty file at $log"
|
||||
# touch $log
|
||||
# echo -e "\tReturn status: ${?}\n"
|
||||
|
||||
echo "Creating empty file at $versionData"
|
||||
touch $versionData
|
||||
echo -e "\tReturn status: ${?}\n"
|
||||
# echo "Creating empty file at $versionData"
|
||||
# touch $versionData
|
||||
# echo -e "\tReturn status: ${?}\n"
|
||||
}
|
||||
|
||||
function handleUninstall() {
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
9-rc-6
|
||||
9-rc-7
|
||||
Reference in New Issue
Block a user