This project is no longer maintained. I suggest to use electron-builder instead. Which has support for uploading to GitHub.
Publish a new release of your app to Github. Could be used together with: electron-gh-releases.
npm install -g electron-release
What it does
- Zip compresses your
- Publishes a new release on GitHub with the zip as an asset.
auto_updater.jsonwith the new url (if exists).
Usage $ electron-release Options --app [Required] The path to the app to compress and upload, separate with `,` (--app=test.app,test.exe). --token [Required] GitHub token to be able to publish the release. --tag The git tag connected to the release, needs to be semver. Defaults to version in package.json --repo The GitHub repo in the following format: "username/reponame". Defaults to repository.url in package.json --name The name of the release. Defaults to --tag --output The .zip output folder. Defaults to same folder as app. separate with `,` (--output=test-app.zip,test-exe.zip).