瀏覽代碼

ci/update-repos: always pass the latest URL

Instead of assuming that the repository was created with the latest URL,
fetch the repository explicitly when fetching.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
Ross Burton 2 月之前
父節點
當前提交
49cad31d10
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ci/update-repos

+ 1 - 1
ci/update-repos

@@ -44,7 +44,7 @@ if __name__ == "__main__":
         if repodir.exists():
             try:
                 print("Updating %s..." % repo)
-                subprocess.run(["git", "-C", repodir, "-c", "gc.autoDetach=false", "fetch"], check=True)
+                subprocess.run(["git", "-C", repodir, "-c", "gc.autoDetach=false", "fetch", repo], check=True)
             except subprocess.CalledProcessError as e:
                 print(e)
                 failed = True