Bladeren bron

Arreglo cuando el branch no posee el formato vX.Y.Z

gabriel 7 jaren geleden
bovenliggende
commit
a03f2ebd27
2 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 1 1
      tools/src/UpdateFlowdatCommand.php
  2. 1 1
      tools/src/UpdateFlowdatModulesCommand.php

+ 1 - 1
tools/src/UpdateFlowdatCommand.php

@@ -35,7 +35,7 @@ class UpdateFlowdatCommand extends Command
             unset ($values[count($values) - 1]);
             $versionOnly = implode ('.', $values);
         } else {
-            $versionOnly = $values;
+            $versionOnly = $version;
         }
 
         $realpath = realpath(".");

+ 1 - 1
tools/src/UpdateFlowdatModulesCommand.php

@@ -36,7 +36,7 @@ class UpdateFlowdatModulesCommand extends Command
                 unset ($values[count($values) - 1]);
                 $versionOnly = implode ('.', $values);
             } else {
-                $versionOnly = $values;
+                $versionOnly = $version;
             }
 	} else {
             $versionOnly = $version;