Skip to content

Commit 0d6a112

Browse files
committed
bump beta version
1 parent 4d3fd22 commit 0d6a112

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

PUBLISHING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This can be checked in the .travis.yml file and appveyor.yml file. Within these
1717
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.
1818
6. Push tags to Github with `git push --tags`
1919
7. Switch to node v0.10 and npm 3
20-
8. `rm -rf node_modules && npm install` to ensure you have the node 0.10 versions of node-pre-gyp installed and flattened by npm3 to be bundled and released with the package.
20+
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.
2121
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`.
2222

2323
Differences for beta release

bin/pre-publish.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ var semver = require('semver');
88

99
// Log the packaging environment to be included in the npm bundle
1010
var lsExit = spawnSync('npm', ['ls']).status;
11-
var npmVersion = spawnSync('npm', ['-v']).stdout.toString().trim();
11+
var npmVersion = (spawnSync('npm', ['-v']).stdout || '0.0.0').toString().trim();
1212

1313
var info = {
1414
'versions': process.versions,

changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
Version 3.1.2-beta3
2+
-------------
3+
- Add some pre-publish warnings to help bad builds from being published
4+
- Add some pre-publish logging
5+
- Refactor setBaudrate for Unix making it easier for custom baudRate support
6+
17
Version 3.1.2-beta2
28
-------------
39
- Add back in the bundle dependency to support node 0.12 with npm3.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "serialport",
3-
"version": "3.1.2-beta2",
3+
"version": "3.1.2-beta3",
44
"description": "Node.js package to access serial ports. Welcome your robotic javascript overlords. Better yet, program them!",
55
"author": {
66
"name": "Chris Williams",
@@ -10,7 +10,7 @@
1010
"binary": {
1111
"module_name": "serialport",
1212
"module_path": "build/{configuration}/",
13-
"host": "https://github.com/voodootikigod/node-serialport/releases/download/3.1.2-beta2"
13+
"host": "https://github.com/voodootikigod/node-serialport/releases/download/3.1.2-beta3"
1414
},
1515
"main": "./lib/serialport",
1616
"repository": {

0 commit comments

Comments
 (0)