https://github.com/jenslind/electron-release
Publish a new release of your app to Github.
https://github.com/jenslind/electron-release
Last synced: 11 months ago
JSON representation
Publish a new release of your app to Github.
- Host: GitHub
- URL: https://github.com/jenslind/electron-release
- Owner: jenslind
- Archived: true
- Created: 2015-05-26T17:06:28.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2016-07-26T13:43:50.000Z (over 9 years ago)
- Last Synced: 2024-08-04T00:03:32.313Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 45.9 KB
- Stars: 69
- Watchers: 2
- Forks: 8
- Open Issues: 8
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
- awesome-electron-zh - electron-release - Publish a new release of your app to GitHub. (Tools / For Electron)
- awesomeelectron - electron-release - Publish a new release of your app to GitHub. (Tools / For Electron)
README
#Deprecated notice
This project is no longer maintained. I suggest to use [electron-builder](https://github.com/electron-userland/electron-builder) instead. Which has support for uploading to GitHub.
---
# Electron-release [](https://github.com/feross/standard) [](https://travis-ci.org/jenslind/electron-release)
> Publish a new release of your app to Github. Could be used together with: [electron-gh-releases](https://github.com/jenslind/electron-gh-releases).
## Install
```
npm install -g electron-release
```
## What it does
1. Zip compresses your `.app`
2. Publishes a new release on GitHub with the zip as an asset.
3. Updates `auto_updater.json` with the new url (if exists).
## Usage
```
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).
```
## Tests
```
npm test
```
## License
MIT