jake
Advanced tools
Comparing version 0.2.7 to 0.2.8
@@ -33,4 +33,4 @@ /* | ||
var getPackageVersionNumber = function () { | ||
pkg = JSON.parse(fs.readFileSync(process.cwd() + '/package.json').toString()) | ||
version = pkg.version | ||
var pkg = JSON.parse(fs.readFileSync(process.cwd() + '/package.json').toString()) | ||
, version = pkg.version; | ||
return version; | ||
@@ -50,2 +50,3 @@ }; | ||
jake.exec(cmds, function () { | ||
var version = getPackageVersionNumber(); | ||
console.log('Bumped version number to v' + version + '.'); | ||
@@ -92,3 +93,3 @@ complete(); | ||
jake.exec(cmds, function () { | ||
console.log('Published to NPM.'); | ||
console.log('Published to NPM'); | ||
complete(); | ||
@@ -110,2 +111,6 @@ }, {stdout: true}); | ||
task('cleanup', ['npm:cleanup'], function () { | ||
console.log('done'); | ||
}); | ||
})(); | ||
@@ -112,0 +117,0 @@ |
@@ -75,3 +75,3 @@ /* | ||
desc('Remove the package') | ||
desc('Remove the package'); | ||
task('clobber', ['clobberPackage']); | ||
@@ -78,0 +78,0 @@ |
{ | ||
"name": "jake", | ||
"version": "0.2.7", | ||
"version": "0.2.8", | ||
"author": "Matthew Eernisse <mde@fleegix.org> (http://fleegix.org)", | ||
@@ -5,0 +5,0 @@ "bin": { |
85337
1872