Skip to content

Commit f93e392

Browse files
committed
Fix create-release: add missing imports in trigger_and_wait_cache_build
1 parent 909bf76 commit f93e392

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/create-release.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def bump_version_files(tag):
8181

8282
def trigger_and_wait_cache_build():
8383
"""Trigger a new build-cache CI run and wait for it to complete."""
84-
import time
84+
import subprocess, json, time
8585
print("Triggering build-cache CI run...")
8686
r = subprocess.run(
8787
["gh", "workflow", "run", "build-cache.yml", "--repo", repo],
@@ -152,7 +152,7 @@ def download_cache_artifacts():
152152

153153
def trigger_and_wait_cache_build():
154154
"""Trigger a new build-cache CI run and wait for it to complete."""
155-
import time
155+
import subprocess, json, time
156156
print("Triggering build-cache CI run...")
157157
r = subprocess.run(
158158
["gh", "workflow", "run", "build-cache.yml", "--repo", repo],

0 commit comments

Comments
 (0)