Don't upload aliased arm builds anymore

They are literally a copy/paste of the armv7l builds, and have been
deprecated ever since they were renamed 2 years ago.
This commit is contained in:
Mark Lee 2018-05-17 22:16:32 -07:00
parent 5a5eb43359
commit 022ffe69e0

View file

@ -4,7 +4,6 @@ import argparse
import errno import errno
import hashlib import hashlib
import os import os
import shutil
import subprocess import subprocess
import sys import sys
import tempfile import tempfile
@ -237,14 +236,6 @@ def upload_electron(github, release, file_path, upload_to_s3):
# Upload the checksum file. # Upload the checksum file.
upload_sha256_checksum(release['tag_name'], file_path) 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): def upload_io_to_github(release, filename, filepath):
print 'Uploading %s to Github' % \ print 'Uploading %s to Github' % \