Merge pull request #12991 from electron/drop-arm-alias-builds
build: don't upload aliased arm builds anymore
This commit is contained in:
Коммит
3fbc3869dc
|
@ -4,7 +4,6 @@ import argparse
|
|||
import errno
|
||||
import hashlib
|
||||
import os
|
||||
import shutil
|
||||
import subprocess
|
||||
import sys
|
||||
import tempfile
|
||||
|
@ -237,14 +236,6 @@ def upload_electron(github, release, file_path, upload_to_s3):
|
|||
# Upload the checksum file.
|
||||
upload_sha256_checksum(release['tag_name'], file_path)
|
||||
|
||||
# Upload ARM assets without the v7l suffix for backwards compatibility
|
||||
# TODO Remove for 2.0
|
||||
if 'armv7l' in filename:
|
||||
arm_filename = filename.replace('armv7l', 'arm')
|
||||
arm_file_path = os.path.join(os.path.dirname(file_path), arm_filename)
|
||||
shutil.copy2(file_path, arm_file_path)
|
||||
upload_electron(github, release, arm_file_path, upload_to_s3)
|
||||
|
||||
|
||||
def upload_io_to_github(release, filename, filepath):
|
||||
print 'Uploading %s to Github' % \
|
||||
|
|
Загрузка…
Ссылка в новой задаче