Comparing version 1.0.0 to 1.1.0
10
cli.js
@@ -21,2 +21,4 @@ #!/usr/bin/env node | ||
console.log(' $ bump --type=minor --git=0'); | ||
console.log(' $ bump major'); | ||
console.log(' $ bump minor'); | ||
} | ||
@@ -48,2 +50,10 @@ | ||
} | ||
//direct passing type | ||
if (val === 'major') { | ||
type = 'major'; | ||
} | ||
if (val === 'minor') { | ||
type = 'minor'; | ||
} | ||
}); | ||
@@ -50,0 +60,0 @@ |
{ | ||
"name": "bump-tag", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Bump version and add tag", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -26,2 +26,4 @@ # bump-tag [![Build Status](https://travis-ci.org/danielhusar/bump-tag.svg)](https://travis-ci.org/danielhusar/bump-tag) | ||
$ bump --type=major --indentation=tab --git=0 | ||
$ bump major | ||
$ bump minor | ||
``` | ||
@@ -28,0 +30,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3621
72
58