diff --git a/PUBLISHING.md b/PUBLISHING.md index cf4a563..c26d30a 100644 --- a/PUBLISHING.md +++ b/PUBLISHING.md @@ -17,8 +17,8 @@ This can be checked in the .travis.yml file and appveyor.yml file. Within these 5. Generate new tags based on package.json version number with `git tag 4.0.0 -a` and include the change log in the tag's annotation. 6. Push tags to Github with `git push --tags` 7. Switch to node v0.12 and npm 2 -8. `rm -rf node_modules && npm install` -9. Publish to npm. BUT NOT YET. Builds can an hour and occasionally fail (mainly on Appveyor) for seemingly no reason. Restart any failures in the travis or appeveyor ui. While you wait, copy the changelog updates into the Github release field. When the entire matrix succeeds and all binaries exist run `npm publish`. +8. `rm -rf node_modules build && npm install` +9. Publish to npm after builds finish. Builds can take half an hour and occasionally fail for seemingly no reason. Restart any failures in the travis or appeveyor ui. While you wait, remove the content of the Github release message so the tag's text shows. When the entire matrix succeeds and all binaries exist run `npm publish`. 10. Kick off the build matrix for either the master or beta branch on [serialport-test-pilot](https://travis-ci.org/j5js/serialport-test-pilot). It will install serialport from npm on a wide range of systems. Differences for beta release