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) {