diff --git a/src/Composer/Package/Locker.php b/src/Composer/Package/Locker.php index 59e9b244d..dd553c8a5 100644 --- a/src/Composer/Package/Locker.php +++ b/src/Composer/Package/Locker.php @@ -165,6 +165,7 @@ class Locker } if (!empty($info['source-reference'])) { $package->setSourceReference($info['source-reference']); + $package->setDistReference($info['source-reference']); } $packages->addPackage($package);