Skip to content
Snippets Groups Projects
Commit ed92abd0 authored by Nico's avatar Nico
Browse files

only download release branches

parent 0d3c4ca9
Branches
No related tags found
No related merge requests found
...@@ -44,7 +44,7 @@ def find_latest_pipeline_id(): ...@@ -44,7 +44,7 @@ def find_latest_pipeline_id():
pipelines = pipelines_request.json() pipelines = pipelines_request.json()
for pipeline in pipelines: for pipeline in pipelines:
if pipeline["status"] == "success": if pipeline["status"] == "success" and pipeline["ref"].startswith("v"):
return pipeline["id"] return pipeline["id"]
return None return None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment