Browse Source

test gitlab-ci

Espinoza Guillermo 6 years ago
parent
commit
daf450ed3b
1 changed files with 4 additions and 1 deletions
  1. 4 1
      tools/src/Command/TagVendorsCommand.php

+ 4 - 1
tools/src/Command/TagVendorsCommand.php

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