From 85724be102dad5a376ca2bf6ff170de773254907 Mon Sep 17 00:00:00 2001 From: Francis Gulotta Date: Sat, 2 Jul 2016 12:57:47 -0400 Subject: [PATCH] Cleanup wording on publishing instructions --- PUBLISHING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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