Skip to content

Commit 1314beb

Browse files
committed
skip uploading overlapped header files and win32 libs
1 parent 70999af commit 1314beb

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

tools/aws_uploader.py

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,18 @@ def aws_upload(upload_path, file_list):
8484
sys.stdout.flush()
8585
# use '/' for s3
8686
path_prefix = ''
87-
if builder_name.startswith("win64") and (f == 'nw.lib' or f == 'nw.exp') :
88-
path_prefix = 'x64'
87+
if (f == 'nw.lib' or f == 'nw.exp') :
88+
if builder_name != 'nw13_win64' and builder_name != 'nw13_win32' :
89+
continue
90+
if builder_name == 'nw13_win64' :
91+
path_prefix = 'x64'
92+
93+
if f.startswith('nw-headers') and builder_name != 'nw13_mac64' :
94+
continue
95+
96+
if f.startswith('chromedriver') and 'sdk' not in builder_name :
97+
continue
98+
8999
key = bucket.new_key(upload_path + '/' + path_prefix + '/' + f)
90100
key.set_contents_from_filename(filename=os.path.join(dist_dir, f), cb=print_progress, num_cb=50, replace=True)
91101

0 commit comments

Comments
 (0)