compress only if content exists

This commit is contained in:
Tommy Parnell
2016-06-20 11:35:12 -04:00
parent 9ff7f2e928
commit fcd97ff08c
4 changed files with 26 additions and 3 deletions

View File

@@ -48,5 +48,5 @@ gulp.task('pack', ['build'], ()=>{
gulp.task('publish', ['pack'], ()=>{
return gulp.src('./nupkgs/*.nupkg')
.pipe(nuget.push({ nuget: "nuget.exe", source: 'https://www.nuget.org/api/v2/package', apiKey: '9d1cc8fb-2c00-47cc-93ff-153a8871052d'}));
.pipe(nuget.push({ nuget: "nuget.exe", source: 'https://www.nuget.org/api/v2/package', apiKey: process.env.nugetApiKey}));
});