From 5fb53762eb15b3936467b12055efb70ead606bdc Mon Sep 17 00:00:00 2001 From: Leo Lamprecht Date: Mon, 28 Nov 2016 10:52:31 +0100 Subject: [PATCH] Show the git reference when deploying --- bin/now-deploy.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/now-deploy.js b/bin/now-deploy.js index c9c6d41..7c49a7b 100755 --- a/bin/now-deploy.js +++ b/bin/now-deploy.js @@ -244,7 +244,8 @@ async function sync(token) { if (!quiet) { if (gitHubRepo) { - console.log(`> Deploying GitHub repository "${chalk.bold(gitHubRepo.main)}"`) + const gitRef = gitHubRepo.ref ? ` at "${chalk.bold(gitHubRepo.ref)}" ` : '' + console.log(`> Deploying GitHub repository "${chalk.bold(gitHubRepo.main)}"` + gitRef) } else { console.log(`> Deploying ${chalk.bold(toHumanPath(path))}`) }