Commit ed92abd0 authored by Nico's avatar Nico
Browse files

only download release branches

parent 0d3c4ca9
......@@ -44,7 +44,7 @@ def find_latest_pipeline_id():
pipelines = pipelines_request.json()
for pipeline in pipelines:
if pipeline["status"] == "success":
if pipeline["status"] == "success" and pipeline["ref"].startswith("v"):
return pipeline["id"]
return None
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment