skip headers and pdbs for fake release builds

This commit is contained in:
Vanessa Yuen 2017-11-03 08:12:54 +08:00
parent 4cc8008cfc
commit 7cb408838f

View file

@ -93,9 +93,7 @@ def main():
upload_electron(github, release, os.path.join(DIST_DIR, mksnapshot),
args.upload_to_s3)
# TODO: make s3 compatible
if PLATFORM == 'win32' and not tag_exists:
if PLATFORM == 'win32' and not tag_exists and not args.upload_to_s3:
# Upload PDBs to Windows symbol server.
run_python_script('upload-windows-pdb.py')