import-url: disable push on version aware imports before saving

This commit is contained in:
Peter Rowlands
2023-01-31 15:55:44 +09:00
committed by Peter Rowlands (변기호)
parent fe9f8654a3
commit 459adfb40f
+2 -3
View File
@@ -90,11 +90,10 @@ def imp_url( # noqa: C901
stage.save_deps()
stage.md5 = stage.compute_md5()
else:
if stage.deps[0].fs.version_aware:
stage.outs[0].can_push = False
stage.run(jobs=jobs, no_download=no_download)
if not no_exec and stage.deps[0].fs.version_aware:
stage.outs[0].can_push = False
stage.frozen = frozen
stage.dump()
return stage