build: remove dead python methods and helper (#28884)
This commit is contained in:
parent
e373df3bc3
commit
56c3103e73
5 changed files with 0 additions and 275 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue