diff --git a/composer.inc.php b/composer.inc.php index 54f8e15..08d588c 100644 --- a/composer.inc.php +++ b/composer.inc.php @@ -111,7 +111,13 @@ task('composer_vendor_push', function($args) { git_do($repo, 'push --tags'); git_do($repo, 'rev-parse HEAD', $output); - composer_try_update_lock_entry($relpath, trim($output[0]), $new_tag); + if(composer_try_update_lock_entry($relpath, trim($output[0]), $new_tag)) + return; + + echo "composer.lock file was not updated, run 'composer update $relpath'?\n"; + are_you_sure(); + + composer_run(['update', $relpath]); }); task('composer_vendor_status', function(array $args) {