chg: [deploy] Last generation took..

pull/23/head
Steve Clement 2019-05-10 12:39:41 +09:00
parent 6177b3ab68
commit 0385720105
1 changed files with 2 additions and 2 deletions

View File

@ -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."