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