Bump to beta 4 with new build instructions

This commit is contained in:
Francis Gulotta 2016-05-14 00:49:12 -04:00
parent 89884e6b1e
commit 22e2c643e8
3 changed files with 7 additions and 3 deletions

View file

@ -17,7 +17,7 @@ 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 2.0.7 -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.10 and npm 3
8. `rm -rf node_modules && npm install` to ensure you have the node 0.12 versions of node-pre-gyp installed and flattened by npm3 to be bundled and released with the package.
8. Ensure you have node 0.12 and npm@2 loaded `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`.
Differences for beta release

View file

@ -1,3 +1,7 @@
Version 3.1.2-beta4
-------------
- Attempting to find a version of npm that lets us publish and be consumed by the most platforms
Version 3.1.2-beta3
-------------
- Add some pre-publish warnings to help bad builds from being published

View file

@ -1,6 +1,6 @@
{
"name": "serialport",
"version": "3.1.2-beta3",
"version": "3.1.2-beta4",
"description": "Node.js package to access serial ports. Welcome your robotic javascript overlords. Better yet, program them!",
"author": {
"name": "Chris Williams",
@ -10,7 +10,7 @@
"binary": {
"module_name": "serialport",
"module_path": "build/{configuration}/",
"host": "https://github.com/voodootikigod/node-serialport/releases/download/3.1.2-beta3"
"host": "https://github.com/voodootikigod/node-serialport/releases/download/3.1.2-beta4"
},
"main": "./lib/serialport",
"repository": {