electron-liberate

1.0.0 • Public • Published

electron-liberate

An electron release tool.

It does the following, in this order -

  1. Runs 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

🚨 Todo 🚨 npm install -g electron-liberate

Usage

Basic

liberate <version> <flags>

Help

  Usage
    $ liberate <version>

  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

Package Sidebar

Install

npm i electron-liberate

Weekly Downloads

1

Version

1.0.0

License

ISC

Last publish

Collaborators

  • maael