1
0
Fork 0

Fix status command reporting differences when source reference is a tag name, fixes #11155

pull/11157/head
Jordi Boggiano 2022-10-27 14:23:51 +02:00
parent 10e757d6b0
commit bb726b8a61
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ EOT
$currentVersion = $guesser->guessVersion($dumper->dump($package), $targetDir);
if ($previousRef && $currentVersion && $currentVersion['commit'] !== $previousRef) {
if ($previousRef && $currentVersion && $currentVersion['commit'] !== $previousRef && $currentVersion['pretty_version'] !== $previousRef) {
$vcsVersionChanges[$targetDir] = [
'previous' => [
'version' => $package->getPrettyVersion(),