From 6e6aab1b9ce5eb66cb88c09a4b2493faaf644691 Mon Sep 17 00:00:00 2001 From: Einar Egilsson Date: Sun, 22 Mar 2020 21:25:59 +0000 Subject: [PATCH] Better messages --- beanstalk-deploy.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/beanstalk-deploy.js b/beanstalk-deploy.js index 0b4eac4..c0b19f7 100755 --- a/beanstalk-deploy.js +++ b/beanstalk-deploy.js @@ -165,7 +165,7 @@ function deployNewVersion(application, environmentName, versionLabel, file, wait return waitForDeployment(application, environmentName, versionLabel, deployStart, waitForRecoverySeconds); } else { console.log('Deployment started, parameter "wait_for_deployment" was false, so action is finished.'); - console.log('Please verify manually that the deployment succeeds!'); + console.log('**** IMPORTANT: Please verify manually that the deployment succeeds!'); process.exit(0); } @@ -195,7 +195,7 @@ function deployExistingVersion(application, environmentName, versionLabel, waitU return waitForDeployment(application, environmentName, versionLabel, deployStart, waitForRecoverySeconds); } else { console.log('Deployment started, parameter "wait_for_deployment" was false, so action is finished.'); - console.log('Please verify manually that the deployment succeeds!'); + console.log('**** IMPORTANT: Please verify manually that the deployment succeeds!'); process.exit(0); } }).then(envAfterDeployment => { @@ -294,6 +294,7 @@ function main() { console.log(' AWS Secret Key: ' + awsApiRequest.secretKey.length + ' characters long, starts with ' + awsApiRequest.secretKey.charAt(0)); console.log(' Wait for deployment: ' + waitUntilDeploymentIsFinished); console.log(' Recovery wait time: ' + waitForRecoverySeconds); + console.log(''); getApplicationVersion(application, versionLabel).then(result => {