From 5ce21df071615368768235b7b4264b6dfdcf1fb7 Mon Sep 17 00:00:00 2001 From: jlukic Date: Mon, 13 Apr 2015 15:41:20 -0400 Subject: [PATCH] Publish tasks fail with latest git due to add syntax --- tasks/admin/components/update.js | 2 +- tasks/admin/distributions/update.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/admin/components/update.js b/tasks/admin/components/update.js index a7e94f335..e4b57a572 100644 --- a/tasks/admin/components/update.js +++ b/tasks/admin/components/update.js @@ -116,7 +116,7 @@ module.exports = function(callback) { function commitFiles() { // commit files console.info('Committing ' + component + ' files', commitArgs); - gulp.src('**/*', gitOptions) + gulp.src('./', gitOptions) .pipe(git.add(gitOptions)) .pipe(git.commit(commitMessage, commitOptions)) .on('error', function(error) { diff --git a/tasks/admin/distributions/update.js b/tasks/admin/distributions/update.js index 8a9bcbbed..0035cc3f9 100644 --- a/tasks/admin/distributions/update.js +++ b/tasks/admin/distributions/update.js @@ -114,7 +114,7 @@ module.exports = function(callback) { function commitFiles() { // commit files console.info('Committing ' + distribution + ' files', commitArgs); - gulp.src('**/*', gitOptions) + gulp.src('./', gitOptions) .pipe(git.add(gitOptions)) .pipe(git.commit(commitMessage, commitOptions)) .on('error', function(error) {