Browse Source

Fix some paths

pull/1191/merge
jlukic 10 years ago
parent
commit
a7b8beb8bc
2 changed files with 3 additions and 2 deletions
  1. 3
      gulpfile.js
  2. 2
      tasks/admin/release.js

3
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);
}

2
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 : [

Loading…
Cancel
Save