Skip to content

Commit

Permalink
Upgrade release instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
szTheory committed Jul 11, 2020
1 parent 765115b commit 281bd1d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,17 +144,16 @@ 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:
Bump the version with `release`:

```bash
yarn run build
yarn run release
```

Then bump the version with `release`, and publish.
When the Github release page comes up, mark it as draft. Then run the publish command:

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

Or instead of `yarn run dist`, after Travis finishes building your app, open the release draft it created and click "Publish".
Once you're happy with the release and want to finalize it, remove the draft flag on the Github releases page.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"packlinux": "yarn run compile && electron-builder --linux",
"packmac": "yarn run compile && electron-builder --macos -c.mac.identity=null",
"build": "yarn run compile && electron-builder --macos --linux --windows",
"publish": "yarn run compile && electron-builder --macos --linux --windows -p always",
"publish": "yarn run compile && electron-builder --macos --linux --windows -p onTagOrDraft",
"release": "np",
"dev": "electron-webpack dev",
"compile": "electron-webpack"
Expand Down

0 comments on commit 281bd1d

Please sign in to comment.