Skip to content

Commit 889f0ba

Browse files
committed
Only use a successful build in appveyor [ci skip]
1 parent 2c55812 commit 889f0ba

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

upload_appveyor_builds.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,11 @@ def ci_tag_build(tag):
4040
builds = ci_builds()
4141
commit_id = git_tags().get(tag)
4242
for build in builds:
43-
if build['isTag'] and build['tag'] == tag:
43+
if build['status'] != 'success':
44+
continue
45+
if build['commitId'] == commit_id:
4446
return build
45-
elif build['commitId'] == commit_id:
47+
elif build['isTag'] and build['tag'] == tag:
4648
return build
4749

4850

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy