Comparing version 0.0.2 to 0.0.3
@@ -50,2 +50,3 @@ #!/usr/bin/env node | ||
pkg.version = semver.inc(pkg.version, type); | ||
fs.writeFileSync(process.cwd() + '/package.json', JSON.stringify(pkg, null, indentation)); | ||
if(git){ | ||
@@ -57,3 +58,2 @@ exec('git tag ' + pkg.version, puts); | ||
} | ||
fs.writeFileSync(process.cwd() + '/package.json', JSON.stringify(pkg, null, indentation)); | ||
} catch(e) { | ||
@@ -60,0 +60,0 @@ console.warn('Error:', e); |
{ | ||
"name": "bump-tag", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Bump version and add tag", | ||
@@ -5,0 +5,0 @@ "keywords": [ |