From 0385720105bad25681c325c7788c4296e3752765 Mon Sep 17 00:00:00 2001 From: Steve Clement Date: Fri, 10 May 2019 12:39:41 +0900 Subject: [PATCH] chg: [deploy] Last generation took.. --- deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy.sh b/deploy.sh index 78e9a0e..298b16d 100755 --- a/deploy.sh +++ b/deploy.sh @@ -246,7 +246,7 @@ if [[ "${LATEST_COMMIT}" != "$(cat /tmp/${PACKER_NAME}-latest.sha)" ]]; then TIME_END=$(date +%s) TIME_DELTA=$(expr ${TIME_END} - ${TIME_START}) TIME=$(convertSecs ${TIME_DELTA}) - echo "The generation took ${TIME}" |tee /tmp/lastBuild.time + echo "The last generation took ${TIME}" |tee /tmp/lastBuild.time exit 1 fi @@ -257,7 +257,7 @@ if [[ "${LATEST_COMMIT}" != "$(cat /tmp/${PACKER_NAME}-latest.sha)" ]]; then TIME_DELTA=$(expr ${TIME_END} - ${TIME_START}) TIME=$(convertSecs ${TIME_DELTA}) - say "The generation took ${TIME}" + say "The last generation took ${TIME}" else clear think "Current ${PACKER_VM} version ${VER}@${LATEST_COMMIT_SHORT} is up to date."