From 6a23fc97fd15fdaad86666372923c62ab9d9dac5 Mon Sep 17 00:00:00 2001 From: wrenge Date: Fri, 3 May 2024 10:42:36 +0300 Subject: [PATCH] composer status versions --- composer.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.inc.php b/composer.inc.php index 08d588c..4ddc71b 100644 --- a/composer.inc.php +++ b/composer.inc.php @@ -145,7 +145,8 @@ task('composer_vendor_status', function(array $args) { if($status) { $package = str_replace(normalize_path("$GAME_ROOT/composer/vendor/"), '', normalize_path($item)); - echo "==== Vendor package '$package' changes:\n"; + $last_remote_tag = get_git_last_remote_tag($item); + echo "==== Vendor package '$package'[$last_remote_tag] changes:\n"; echo implode("\n", $status) . "\n"; } }