|
@@ -80,6 +80,8 @@ class TagVendorsCommand extends Command
|
|
|
// si no existe el branch y estoy creando un branch nuevo
|
|
|
$git->branch->create($version);
|
|
|
$cmd .= "$version ";
|
|
|
+ if ($sec == 'webservice')
|
|
|
+
|
|
|
var_dump('creando branch----------------------');
|
|
|
|
|
|
}
|
|
@@ -87,13 +89,18 @@ var_dump('creando branch----------------------');
|
|
|
if (!$optionBranch) {
|
|
|
// estoy creando un tag
|
|
|
$tags = $git->tag();
|
|
|
- var_dump('------------------------------------------');
|
|
|
- var_dump($tag, $tags, $version, $branchRemote);
|
|
|
+ if ($sec == 'webservice') {
|
|
|
+ var_dump('------------------------------------------');
|
|
|
+ var_dump($tag, $tags, $version, $branchRemote);
|
|
|
+ }
|
|
|
+
|
|
|
if (!in_array($tag, $tags)) {
|
|
|
// el tag no existe
|
|
|
-
|
|
|
+ if ($sec == 'webservice')
|
|
|
var_dump('No existe el tag');
|
|
|
if ($branchRemote == null) {
|
|
|
+ if ($sec == 'webservice')
|
|
|
+
|
|
|
var_dump('$branchRemote-**************************');
|
|
|
// el branch remote no existe
|
|
|
$git->tag->create($tag, $version);
|