Skip to content

Commit d68efc6

Browse files
committed
changed to CHIPFLOW_BACKEND_GIT_SHA
1 parent 9428177 commit d68efc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chipflow_lib/steps/silicon.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,13 @@ def submit(self, rtlil_path, *, dry_run=False):
128128
dep_versions[package] = importlib.metadata.version(package)
129129
except importlib.metadata.PackageNotFoundError:
130130
dep_versions[package] = None
131+
131132
data = {
132133
"projectId": self.project_name,
133134
"name": submission_name,
134135
}
135136

136-
# Check if BACKEND_SHA exists in the environment and add it to the data dictionary
137+
# Check if CHIPFLOW_BACKEND_GIT_SHA exists in the environment and add it to the data dictionary
137138
backend_sha = os.environ.get("CHIPFLOW_BACKEND_GIT_SHA")
138139
if backend_sha:
139140
data["backend_sha"] = backend_sha
@@ -171,7 +172,6 @@ def submit(self, rtlil_path, *, dry_run=False):
171172
print(f"files['config']=\n{json.dumps(config, indent=2)}")
172173
return
173174

174-
175175
logger.info(f"Submitting {submission_name} for project {self.project_name}")
176176
endpoint = os.environ.get("CHIPFLOW_API_ENDPOINT", "https://build.chipflow.org/api/builds")
177177
host = urlparse(endpoint).netloc

0 commit comments

Comments
 (0)