1
0
mirror of https://github.com/element-hq/element-web.git synced 2025-11-26 21:23:26 +03:00

Fix variable scope in redeployer

This commit is contained in:
David Baker
2019-04-26 16:26:48 +01:00
parent 0718d438b8
commit 77dff119db

View File

@@ -115,8 +115,8 @@ def on_receive_buildkite_poke():
artifacts_resp.raise_for_status()
artifacts_array = artifacts_resp.json()
artifact_to_deploy = None
for artifact in artifacts_array:
artifact_to_deploy = None
if re.match(r"dist/.*.tar.gz", artifact['path']):
artifact_to_deploy = artifact
if artifact_to_deploy is None: