# electron-release

> Publish a new release of your app to Github.

Latest version **2.2.0** (published 2015-11-23) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install electron-release
pnpm add electron-release
yarn add electron-release
bun add electron-release
```

Provides the command `electron-release`.

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 2.2.0 |
| Published | 2015-11-23 |
| First published | 2015-09-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 9 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 67 |
| Author | Jens Lind |
| Maintainers | jenslind, thejameskyle |

## Links

- npm: https://www.npmjs.com/package/electron-release
- Repository: https://github.com/jenslind/electron-release
- Issues: https://github.com/jenslind/electron-release/issues
- npm.io page: https://npm.io/package/electron-release

## Dependencies (9)

- [got](https://npm.io/package/got.md) ^4.2.0
- [meow](https://npm.io/package/meow.md) ^3.3.0
- [chalk](https://npm.io/package/chalk.md) ^1.1.1
- [bluebird](https://npm.io/package/bluebird.md) ^2.10.0
- [pretty-bytes](https://npm.io/package/pretty-bytes.md) ^2.0.1
- [load-json-file](https://npm.io/package/load-json-file.md) ^1.0.1
- [publish-release](https://npm.io/package/publish-release.md) ^1.1.0
- [single-line-log](https://npm.io/package/single-line-log.md) ^1.0.1
- [write-json-file](https://npm.io/package/write-json-file.md) ^1.1.1

## Recent versions

- 2.2.0 (latest) — 2015-11-23
- 2.1.2 — 2015-11-11
- 2.1.1 — 2015-09-27
- 2.1.0 — 2015-09-25
- 2.0.5 — 2015-09-21
- 2.0.4 — 2015-09-21
- 2.0.3 — 2015-09-20
- 2.0.2 — 2015-09-19
- 2.0.1 — 2015-09-19
- 2.0.0 — 2015-09-19

## README

# Electron-release [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard) [![Build Status](https://travis-ci.org/jenslind/electron-release.svg?branch=master)](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

---
_Source: https://npm.io/package/electron-release · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
