drone 7 سال پیش
والد
کامیت
d34db3e3e5
1فایلهای تغییر یافته به همراه7 افزوده شده و 2 حذف شده
  1. 7 2
      tools/src/Command/TagVendorsCommand.php

+ 7 - 2
tools/src/Command/TagVendorsCommand.php

@@ -78,6 +78,8 @@ class TagVendorsCommand extends Command
                         // si no existe el branch y estoy creando un branch nuevo
                         $git->branch->create($version);
                         $cmd .= "$version ";
+var_dump('creando branch----------------------');
+
                     }
                     $git->checkout($version);
                     if (!$optionBranch) {
@@ -96,8 +98,11 @@ class TagVendorsCommand extends Command
                         $cmd .= " --tags";
                     }
                     // ejecuto el comando git
-                    shell_exec($cmd);
-		    sleep(5);
+                    if ($sec == 'webservice') {
+                        var_dump($cmd);
+                        //shell_exec($cmd);
+                    }
+            sleep(5);
                 } catch (GitException $e) {
                     $output->writeln($e->getTraceAsString());
                     $output->writeln($sec . ": " . $e->getMessage());