Commit d7d7afea authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Force origin pour les MAJ

parent c72f0a53
Loading
Loading
Loading
Loading
+1 −1
Changes for module/Administration/src/Command/UpdateCodeCommand.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -70,7 +70,7 @@ class UpdateCodeCommand extends Command
        // Récupération des sources
        $io->section("Mise à jour des fichiers à partir de GIT");
        $this->exec("git reset --hard"); // purge des modifs locales
        $tbr = $repo->tagIsValid($version) ? 'tags/' : '';
        $tbr = $repo->tagIsValid($version) ? 'tags/' : 'origin/';
        if ($version == $repo->getCurrentBranche()) {
            $updcmd = 'git pull';
        } else {