fis-command-release
Advanced tools
Comparing version 0.7.5 to 0.7.6
@@ -49,3 +49,3 @@ /* | ||
function normilize(str){ | ||
return '/' + String(str || '').replace(/^\/|\/$/, ''); | ||
return String(str || '').replace(/^\/|\/$/, ''); | ||
} | ||
@@ -79,3 +79,7 @@ | ||
dests.forEach(function(d){ | ||
if(file.release && file.release.indexOf(d.from) === 0 && fis.util.filter(file.subpath, d.include, d.exclude)){ | ||
if( | ||
file.release && | ||
file.release.substring(1).indexOf(d.from) === 0 && | ||
fis.util.filter(file.subpath, d.include, d.exclude) | ||
){ | ||
deploy(d, file); | ||
@@ -82,0 +86,0 @@ } |
{ | ||
"name" : "fis-command-release", | ||
"description" : "fis release command.", | ||
"version" : "0.7.5", | ||
"version" : "0.7.6", | ||
"author" : "FIS Team <fis@baidu.com>", | ||
@@ -6,0 +6,0 @@ "homepage" : "http://fis.baidu.com/", |
13099
272