Comparing version 0.2.3 to 1.0.0
@@ -54,6 +54,2 @@ #!/usr/bin/env node | ||
exec('git tag ' + pkg.version, puts); | ||
exec('git add package.json', puts); | ||
exec('git commit -m "bump to "'+ pkg.version, puts); | ||
exec('git push origin master --tags', puts); | ||
exec('npm publish', puts); | ||
}, 200); | ||
@@ -60,0 +56,0 @@ } |
{ | ||
"name": "bump-tag", | ||
"version": "0.2.3", | ||
"version": "1.0.0", | ||
"description": "Bump version and add tag", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
# bump-tag [![Build Status](https://travis-ci.org/danielhusar/bump-tag.svg)](https://travis-ci.org/danielhusar/bump-tag) | ||
Increment version in your package.json and add git tag to the repo, and at the end publish the library to npm. | ||
Increment version in your package.json and add git tag to the repo. | ||
@@ -43,2 +43,3 @@ I have created this cli mainly because I keep forgetting to add tag when I bump the version. | ||
Default: 2 | ||
Indentation for the package.json | ||
@@ -50,6 +51,7 @@ | ||
Default: 1 | ||
Enable/disable adding git tags and pushing it to origin | ||
Enable/disable adding git tags | ||
## License | ||
MIT © Daniel Husar |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
56
3374
63