mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-24 09:16:53 +00:00
Update build-all.py - fetch before checkout
This commit is contained in:
@@ -351,6 +351,7 @@ def git_clone_or_pull_repository(clone_url, target_dir, revision=None):
|
|||||||
run([git, "pull", clone_url], cwd=target_dir)
|
run([git, "pull", clone_url], cwd=target_dir)
|
||||||
|
|
||||||
if revision != None:
|
if revision != None:
|
||||||
|
run([git, "fetch", "--all"], cwd=target_dir)
|
||||||
run([git, "checkout", revision], cwd=target_dir)
|
run([git, "checkout", revision], cwd=target_dir)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user