Browse Source

Publish tasks fail with latest git due to add syntax

pull/2136/head
jlukic 9 years ago
parent
commit
5ce21df071
2 changed files with 2 additions and 2 deletions
  1. 2
      tasks/admin/components/update.js
  2. 2
      tasks/admin/distributions/update.js

2
tasks/admin/components/update.js

@ -116,7 +116,7 @@ module.exports = function(callback) {
function commitFiles() { function commitFiles() {
// commit files // commit files
console.info('Committing ' + component + ' files', commitArgs); console.info('Committing ' + component + ' files', commitArgs);
gulp.src('**/*', gitOptions)
gulp.src('./', gitOptions)
.pipe(git.add(gitOptions)) .pipe(git.add(gitOptions))
.pipe(git.commit(commitMessage, commitOptions)) .pipe(git.commit(commitMessage, commitOptions))
.on('error', function(error) { .on('error', function(error) {

2
tasks/admin/distributions/update.js

@ -114,7 +114,7 @@ module.exports = function(callback) {
function commitFiles() { function commitFiles() {
// commit files // commit files
console.info('Committing ' + distribution + ' files', commitArgs); console.info('Committing ' + distribution + ' files', commitArgs);
gulp.src('**/*', gitOptions)
gulp.src('./', gitOptions)
.pipe(git.add(gitOptions)) .pipe(git.add(gitOptions))
.pipe(git.commit(commitMessage, commitOptions)) .pipe(git.commit(commitMessage, commitOptions))
.on('error', function(error) { .on('error', function(error) {

Loading…
Cancel
Save