1
0
Fork 0

Fix release- tags not being parsed

pull/743/head
Jordi Boggiano 2012-05-28 14:41:26 +02:00
parent 0552639591
commit 2b2a5d0a92
1 changed files with 3 additions and 0 deletions

View File

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