Przeglądaj źródła

Merge pull request #1115 from Anankke/fix-client-download

feat(ssr-download): add --rebase param to git pull
Anankke 5 lat temu
rodzic
commit
812e58971c
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/Command/Job.php

+ 1 - 1
src/Command/Job.php

@@ -748,7 +748,7 @@ class Job extends Command
     public function updatedownload()
     {
         system(
-            'cd ' . BASE_PATH . '/public/ssr-download/ && git pull https://github.com/xcxnig/ssr-download.git && git gc'
+            'cd ' . BASE_PATH . '/public/ssr-download/ && git pull https://github.com/xcxnig/ssr-download.git --rebase && git gc'
         );
     }