Permalink
Browse files

Testing for NPM publishing and jumped version number

  • Loading branch information...
1 parent fca02dd commit 524422ebd908fe81cb44ea5585d015cf74e6ee4d @larzconwell committed Jun 27, 2012
Showing with 6 additions and 2 deletions.
  1. +5 −1 lib/auto_npm.js
  2. +1 −1 package.json
View
@@ -127,7 +127,11 @@ exports.update = function() {
// If version has updated then update NPM package
if(data.match(pat)) {
- cmd = 'sudo npm publish'
+ exec('sudo npm publish', function(err, stdout, stderr) {
+ if(err) throw err;
+
+ console.log(stdout);
+ });
}
});
};
View
@@ -9,7 +9,7 @@
, "version"
, "control"
]
- , "version": "0.0.2"
+ , "version": "0.0.3"
, "author": "Larz Conwell <larzconwell@gmail.com>"
, "bin": {
"auto_npm": "./bin/auto_npm.js"

0 comments on commit 524422e

Please sign in to comment.