Skip to content

Commit

Permalink
update release instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
szTheory committed Jul 11, 2020
1 parent 44b241f commit a6d69eb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,17 @@ TypeScript code is formatted using Prettier.

This section is really for my own reference when publishing a new release.

First, build the app and test it out on all platforms. To build:

```bash
yarn run build
```

Then bump the version with `release`, and publish.

```bash
yarn run release
yarn run dist
yarn run publish
```

Or instead of `yarn run dist`, after Travis finishes building your app, open the release draft it created and click "Publish".
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"packwin": "yarn run compile && electron-builder --windows",
"packlinux": "yarn run compile && electron-builder --linux",
"packmac": "yarn run compile && electron-builder --macos -c.mac.identity=null",
"dist": "yarn run compile && electron-builder --macos --linux --windows -p always",
"build": "yarn run compile && electron-builder --macos --linux --windows",
"publish": "yarn run compile && electron-builder --macos --linux --windows -p always",
"release": "np",
"dev": "electron-webpack dev",
"compile": "electron-webpack"
Expand Down

0 comments on commit a6d69eb

Please sign in to comment.