git-repo-version
Advanced tools
Comparing version
@@ -17,3 +17,3 @@ /* jshint node:true, eqnull:true */ | ||
var prefix; | ||
if (info.tag && info.tag.includes(packageVersion)) { | ||
if (info.tag && !(packageVersion && info.tag.includes(packageVersion))) { | ||
prefix = info.tag; | ||
@@ -20,0 +20,0 @@ } else if (packageVersion) { |
{ | ||
"name": "git-repo-version", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Generates a version string based on the version specified in your package.json and the sha revision of the current commit branch.", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/cibernox/git-repo-version", |
5430
0.39%