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:
parent
0552639591
commit
2b2a5d0a92
1 changed files with 3 additions and 0 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue