|
@@ -80,12 +80,15 @@ class TagVendorsCommand extends Command
|
|
$git->branch->create($version);
|
|
$git->branch->create($version);
|
|
$cmd .= "$version ";
|
|
$cmd .= "$version ";
|
|
$findBranch = true;
|
|
$findBranch = true;
|
|
|
|
+ $branchRemote = $version;
|
|
}
|
|
}
|
|
|
|
|
|
if ($findBranch) {
|
|
if ($findBranch) {
|
|
$git->checkout($version);
|
|
$git->checkout($version);
|
|
|
|
+ } else {
|
|
|
|
+ $branchRemote = 'master';
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
if (!$optionBranch) {
|
|
if (!$optionBranch) {
|
|
// estoy creando un tag
|
|
// estoy creando un tag
|
|
$tags = $git->tag();
|
|
$tags = $git->tag();
|