build: remove dead python methods and helper (#28884)

This commit is contained in:
Samuel Attard 2021-04-28 00:39:30 -07:00 committed by GitHub
parent e373df3bc3
commit 56c3103e73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 0 additions and 275 deletions

View file

@ -23,7 +23,6 @@ from lib.util import get_electron_branding, execute, get_electron_version, \
SRC_DIR, ELECTRON_DIR, TS_NODE
ELECTRON_REPO = 'electron/electron'
ELECTRON_VERSION = get_electron_version()
PROJECT_NAME = get_electron_branding()['project_name']
@ -360,14 +359,6 @@ def upload_sha256_checksum(version, file_path, key_prefix=None):
key_prefix, [checksum_path])
def auth_token():
token = get_env_var('GITHUB_TOKEN')
message = ('Error: Please set the $ELECTRON_GITHUB_TOKEN '
'environment variable, which is your personal token')
assert token, message
return token
def get_release(version):
script_path = os.path.join(
ELECTRON_DIR, 'script', 'release', 'find-github-release.js')