1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Fix release- tags not being parsed

This commit is contained in:
Jordi Boggiano 2012-05-28 14:41:26 +02:00
parent 0552639591
commit 2b2a5d0a92

View file

@ -112,6 +112,9 @@ class VcsRepository extends ArrayRepository
$this->io->overwrite($msg, false);
}
// strip the release- prefix from tags if present
$tag = str_replace('release-', '', $tag);
if (!$parsedTag = $this->validateTag($tag)) {
if ($verbose) {
$this->io->write('Skipped tag '.$tag.', invalid tag name');