From 09aec38ca375fbc4b17e83a2f0005948b7a89101 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Tue, 12 Nov 2024 18:41:09 -0700 Subject: [PATCH] 61-alpha1.2 --- reinstall-esp-idf.sh | 18 ++++++++++++++++++ version.txt | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/reinstall-esp-idf.sh b/reinstall-esp-idf.sh index 8f7a4b4..debc1a4 100644 --- a/reinstall-esp-idf.sh +++ b/reinstall-esp-idf.sh @@ -216,23 +216,41 @@ function handleDownloadInstall() { writeToLog "$idfDir not found, skipping delete\n" fi + istartTime=$(date '+%s') writeToLog "CLONING esp-idf, branch $gitBranch with $gitJobs jobs to $idfDir" eval "$gitCloneCmd" returnStatus + iendTime=$(date '+%s') + installerTime=$(($iendTime-$istartTime)) + writeToLog "Git clone completed in $installerTime seconds\n" else writeToLog "Setting for update mode\n" + + istartTime=$(date '+%s') writeToLog "UPDATING esp-idf, branch $gitBranch with $gitJobs jobs to $idfDir" eval "$gitUpdateCmd" returnStatus + iendTime=$(date '+%s') + installerTime=$(($iendTime-$istartTime)) + writeToLog "Git update completed in $installerTime seconds\n" fi + istartTime=$(date '+%s') writeToLog "Executing installer\n" eval "$installCmd" returnStatus + iendTime=$(date '+%s') + installerTime=$(($iendTime-$istartTime)) + writeToLog "Installer completed in $installerTime seconds\n" + istartTime=$(date '+%s') writeToLog "Executing extra tools installer\n" eval "$toolsInstallCmd" returnStatus + iendTime=$(date '+%s') + installerTime=$(($iendTime-$istartTime)) + writeToLog "Extra tools installer completed in $installerTime seconds\n" + writeToLog "getting the commit hash\n" commitHash=$(git -C $idfDir rev-parse HEAD) diff --git a/version.txt b/version.txt index cbcfd60..16b6a5a 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -61-alpha1.1 \ No newline at end of file +61-alpha1.2 \ No newline at end of file