Fix status command reporting differences when source reference is a tag name, fixes #11155
parent
10e757d6b0
commit
bb726b8a61
|
@ -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(),
|
||||
|
|
Loading…
Reference in New Issue