@@ -390,13 +390,16 @@ async function _deployCommand(dir: string, options: DeployCommandOptions) {
390390
391391 const $spinner = spinner ( ) ;
392392
393+ const buildSuffix = isLocalBuild ? " (local)" : "" ;
394+ const deploySuffix = isLocalBuild ? " (local build)" : "" ;
395+
393396 if ( isCI ) {
394397 log . step ( `Building version ${ version } \n` ) ;
395398 } else {
396399 if ( isLinksSupported ) {
397- $spinner . start ( `Building version ${ version } ${ deploymentLink } ` ) ;
400+ $spinner . start ( `Building version ${ version } ${ buildSuffix } ${ deploymentLink } ` ) ;
398401 } else {
399- $spinner . start ( `Building version ${ version } ` ) ;
402+ $spinner . start ( `Building version ${ version } ${ buildSuffix } ` ) ;
400403 }
401404 }
402405
@@ -427,9 +430,11 @@ async function _deployCommand(dir: string, options: DeployCommandOptions) {
427430 }
428431
429432 if ( isLinksSupported ) {
430- $spinner . message ( `Building version ${ version } ${ deploymentLink } : ${ logMessage } ` ) ;
433+ $spinner . message (
434+ `Building version ${ version } ${ buildSuffix } ${ deploymentLink } : ${ logMessage } `
435+ ) ;
431436 } else {
432- $spinner . message ( `Building version ${ version } : ${ logMessage } ` ) ;
437+ $spinner . message ( `Building version ${ version } ${ buildSuffix } : ${ logMessage } ` ) ;
433438 }
434439 } ,
435440 // Local build options
@@ -505,12 +510,12 @@ async function _deployCommand(dir: string, options: DeployCommandOptions) {
505510 }
506511
507512 if ( isCI ) {
508- log . step ( `Deploying version ${ version } \n` ) ;
513+ log . step ( `Deploying version ${ version } ${ deploySuffix } \n` ) ;
509514 } else {
510515 if ( isLinksSupported ) {
511- $spinner . message ( `Deploying version ${ version } ${ deploymentLink } ` ) ;
516+ $spinner . message ( `Deploying version ${ version } ${ deploySuffix } ${ deploymentLink } ` ) ;
512517 } else {
513- $spinner . message ( `Deploying version ${ version } ` ) ;
518+ $spinner . message ( `Deploying version ${ version } ${ deploySuffix } ` ) ;
514519 }
515520 }
516521
@@ -527,9 +532,11 @@ async function _deployCommand(dir: string, options: DeployCommandOptions) {
527532 }
528533
529534 if ( isLinksSupported ) {
530- $spinner . message ( `Deploying version ${ version } ${ deploymentLink } : ${ logMessage } ` ) ;
535+ $spinner . message (
536+ `Deploying version ${ version } ${ deploySuffix } ${ deploymentLink } : ${ logMessage } `
537+ ) ;
531538 } else {
532- $spinner . message ( `Deploying version ${ version } : ${ logMessage } ` ) ;
539+ $spinner . message ( `Deploying version ${ version } ${ deploySuffix } : ${ logMessage } ` ) ;
533540 }
534541 }
535542 ) ;
@@ -547,9 +554,9 @@ async function _deployCommand(dir: string, options: DeployCommandOptions) {
547554 }
548555
549556 if ( isCI ) {
550- log . step ( `Successfully deployed version ${ version } ` ) ;
557+ log . step ( `Successfully deployed version ${ version } ${ deploySuffix } ` ) ;
551558 } else {
552- $spinner . stop ( `Successfully deployed version ${ version } ` ) ;
559+ $spinner . stop ( `Successfully deployed version ${ version } ${ deploySuffix } ` ) ;
553560 }
554561
555562 const taskCount = deploymentWithWorker . worker ?. tasks . length ?? 0 ;
0 commit comments