Fix handling of svn trunk in version guesser, fixes #8765
parent
876136022b
commit
be1ddcf293
|
@ -321,7 +321,11 @@ class VersionGuesser
|
|||
}
|
||||
|
||||
$prettyVersion = trim($matches[1]);
|
||||
if ($prettyVersion === 'trunk') {
|
||||
$version = 'dev-trunk';
|
||||
} else {
|
||||
$version = $this->versionParser->normalize($prettyVersion);
|
||||
}
|
||||
|
||||
return array('version' => $version, 'commit' => '', 'pretty_version' => $prettyVersion);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue