|
@@ -67,7 +67,7 @@ class TagVendorsCommand extends Command
|
|
$findBranch = false;
|
|
$findBranch = false;
|
|
$branchRemote = null;
|
|
$branchRemote = null;
|
|
// verifico si el branch a crear ya existe
|
|
// verifico si el branch a crear ya existe
|
|
- if ($sec == 'webservice')
|
|
|
|
|
|
+ if ($sec == 'webservice')
|
|
var_dump($branchs);
|
|
var_dump($branchs);
|
|
foreach ($branchs as $branch) {
|
|
foreach ($branchs as $branch) {
|
|
if (strpos($branch['name'], $version) !== false) {
|
|
if (strpos($branch['name'], $version) !== false) {
|
|
@@ -87,9 +87,14 @@ var_dump('creando branch----------------------');
|
|
if (!$optionBranch) {
|
|
if (!$optionBranch) {
|
|
// estoy creando un tag
|
|
// estoy creando un tag
|
|
$tags = $git->tag();
|
|
$tags = $git->tag();
|
|
|
|
+ var_dump('------------------------------------------');
|
|
|
|
+ var_dump($tag, $tags, $version, $branchRemote);
|
|
if (!in_array($tag, $tags)) {
|
|
if (!in_array($tag, $tags)) {
|
|
// el tag no existe
|
|
// el tag no existe
|
|
|
|
+
|
|
|
|
+ var_dump('No existe el tag');
|
|
if ($branchRemote == null) {
|
|
if ($branchRemote == null) {
|
|
|
|
+ var_dump('$branchRemote-**************************');
|
|
// el branch remote no existe
|
|
// el branch remote no existe
|
|
$git->tag->create($tag, $version);
|
|
$git->tag->create($tag, $version);
|
|
} else {
|
|
} else {
|