Skip to content
This repository was archived by the owner on Feb 17, 2023. It is now read-only.

Commit dd75790

Browse files
committed
Don't look at appveyor builds that have not run yet.
1 parent d105654 commit dd75790

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

download_artefacts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def find_appveyor_files(version, base_package_url=APPVEYOR_PACKAGE_URL, base_job
4141

4242
tag = version
4343
for build in builds:
44-
if build['isTag'] and build['tag'] == tag:
44+
if build['isTag'] and build['tag'] == tag and build['status'] != 'queued':
4545
build_id = build['buildId']
4646
break
4747
else:

0 commit comments

Comments
 (0)