From a7b8beb8bc2b823a2d47d5f82eceaa9b473b3bdc Mon Sep 17 00:00:00 2001 From: jlukic Date: Mon, 27 Oct 2014 18:50:01 -0400 Subject: [PATCH] Fix some paths --- gulpfile.js | 3 ++- tasks/admin/release.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 5935b49ec..e5b58bdd8 100755 --- a/gulpfile.js +++ b/gulpfile.js @@ -672,6 +672,7 @@ gulp.task('release components', false, function() { outputDirectory = release.folderRoot + component, capitalizedComponent = component.charAt(0).toUpperCase() + component.slice(1), repo = release.repoRoot + capitalizedComponent, + gitURL = 'git@github.com:release.owner/' + repo + '.git', repoURL = 'https://github.com/' + release.owner + '/' + repo, gitOptions = { cwd: outputDirectory } ; @@ -695,7 +696,7 @@ gulp.task('release components', false, function() { console.error('Error initializing repo'); throw error; } - git.addRemote('origin', repoURL, gitOptions, function(error){ + git.addRemote('origin', gitURL, gitOptions, function(error){ if(error) { console.error('Unable to add remote', error); } diff --git a/tasks/admin/release.js b/tasks/admin/release.js index 6e77d9c79..63de1e707 100644 --- a/tasks/admin/release.js +++ b/tasks/admin/release.js @@ -10,7 +10,7 @@ module.exports = { // root name for repos repoRoot : 'UI-', - folderRoot : '../ui-', + folderRoot : '../components/', // components that get separate repositories for bower/npm components : [