npm install -g surf-build@latest
ELECTRON_GITHUB_TOKEN
- a token that can create releases on GitHubELECTRON_S3_ACCESS_KEY
, ELECTRON_S3_BUCKET
, ELECTRON_S3_SECRET_KEY
-the place where you'll upload Node.js headers as well as symbolsELECTRON_RELEASE
- Set to true
and the upload part will run, leave unsetand surf-build
will do CI-type checks, appropriate to run for everypull request.CI
- Set to true
or else it will failGITHUB_TOKEN
- set it to the same as ELECTRON_GITHUB_TOKEN
SURF_TEMP
- set to C:Temp
on Windows to prevent path too long issuesTARGET_ARCH
- set to ia32
or x64
script/upload.py
, you must set ELECTRON_REPO
to your fork (MYORG/electron
),especially if you are a contributor to Electron proper.surf-build -r https://github.com/MYORG/electron -s YOUR_COMMIT -n 'surf-PLATFORM-ARCH'