diff --git a/recipe/deploy/info.php b/recipe/deploy/info.php index a0a090998..d4c74d711 100644 --- a/recipe/deploy/info.php +++ b/recipe/deploy/info.php @@ -3,5 +3,7 @@ desc('Displays info about deployment'); task('deploy:info', function () { - info("deploying {{target}} (release {{release_name}})"); + $releaseName = test('[ -d {{deploy_path}}/.dep ]') ? get('release_name') : 1; + + info("deploying {{target}} (release {$releaseName})"); });