Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
docs(publishing): some notes on building binaries
  • Loading branch information
reconbot committed Sep 15, 2018
1 parent e725a86 commit 54f9300
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion PUBLISHING.md
Expand Up @@ -5,5 +5,11 @@ This can be checked in the .travis.yml file and appveyor.yml file. Within these

Two factor auth is required for publishing.

1. run `NPM_CONFIG_OTP=<2fa code> lerna publish`
1. run `NPM_CONFIG_OTP=<2fa code> npx lerna publish`
2. Let everyone know 🎉

If publishing more than 3 packages at once and one of them is the bindings package, you'll need to figure out a way to get the ci's to build the binaries as github wont tell them about the new tags. You can do this by doing a minor version bump of the bindings package (only binary package as of this writing).

```
NPM_CONFIG_OTP=<2fa code> npx lerna publish --force-publish @serialport/bindings patch
```

0 comments on commit 54f9300

Please sign in to comment.