|
@@ -79,9 +79,13 @@ class TagVendorsCommand extends Command
|
|
// si no existe el branch y estoy creando un branch nuevo
|
|
// si no existe el branch y estoy creando un branch nuevo
|
|
$git->branch->create($version);
|
|
$git->branch->create($version);
|
|
$cmd .= "$version ";
|
|
$cmd .= "$version ";
|
|
|
|
+ $findBranch = true;
|
|
}
|
|
}
|
|
|
|
|
|
- $git->checkout($version);
|
|
|
|
|
|
+ if ($findBranch) {
|
|
|
|
+ $git->checkout($version);
|
|
|
|
+ }
|
|
|
|
+
|
|
if (!$optionBranch) {
|
|
if (!$optionBranch) {
|
|
// estoy creando un tag
|
|
// estoy creando un tag
|
|
$tags = $git->tag();
|
|
$tags = $git->tag();
|