https://github.com/maael/electron-liberate
:wrench: :zap: An electron release tool
https://github.com/maael/electron-liberate
cli electron node release
Last synced: 2 months ago
JSON representation
:wrench: :zap: An electron release tool
- Host: GitHub
- URL: https://github.com/maael/electron-liberate
- Owner: maael
- Created: 2016-12-07T20:58:17.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-08T01:13:15.000Z (over 9 years ago)
- Last Synced: 2025-03-29T07:29:39.239Z (about 1 year ago)
- Topics: cli, electron, node, release
- Language: JavaScript
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# electron-liberate
An electron release tool.
It does the following, in this order -
1. Runs [electron-packager](https://github.com/electron-userland/electron-packager)
2. Runs `npm version`
3. Pushes tags and commits with `git push --porcelain --follow-tags`
4. Creates a GitHub release
5. Creates `.tar.gz` of packages created by `electron-packager`
6. Uploads `.tar.gz` files and adds them to the created release
## Install
`npm install -g electron-liberate`
## Setup
A `.liberate` config file will need to be created for prjects which will use electron-liberate. This config must be -
```
GITHUB_USER=
GITHUB_REPO=
GITHUB_TOKEN=
```
with the right information filled out.
## Usage
### Basic
`liberate `
### Help
```
Usage
$ liberate
Options
--build, -b Build directory of packages, used as --out for electron-packager
--output, -o Output directory for zipped packages, if left blank will be the same as --build
--name, -n Release name for GitHub
--body Release body for GitHub
--draft, -d If this the GitHub release should be a draft
--prerelease, -pre If the GitHub release should be marked as prelease
Electron Packager Options, for details see https://github.com/electron-userland/electron-packager/blob/master/docs/api.md
--dir
--icon
--platform
--arch
--all
--appname
--overwrite
Examples
$ liberate 2.0.0 -b build
```