-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jack
authored and
Jack
committed
Nov 6, 2015
1 parent
1bf0f89
commit d1c6b9b
Showing
4 changed files
with
28 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,18 +65,17 @@ module.exports = function(callback) { | |
} | ||
|
||
var | ||
component = release.distributions[index], | ||
lowerCaseComponent = component.toLowerCase(), | ||
outputDirectory = path.resolve(release.outputRoot + lowerCaseComponent), | ||
repoName = release.distRepoRoot + component, | ||
|
||
gitOptions = { cwd: outputDirectory }, | ||
pullOptions = { args: '-q', cwd: outputDirectory, quiet: true }, | ||
resetOptions = { args: '-q --hard', cwd: outputDirectory, quiet: true }, | ||
|
||
gitURL = 'https://github.com/' + release.org + '/' + repoName + '.git', | ||
repoURL = 'https://github.com/' + release.org + '/' + repoName + '/', | ||
localRepoSetup = fs.existsSync(path.join(outputDirectory, '.git')) | ||
component = release.distributions[index], | ||
lowerCaseComponent = component.toLowerCase(), | ||
outputDirectory = path.resolve(release.outputRoot + lowerCaseComponent), | ||
repoName = release.distRepoRoot + component, | ||
|
||
gitOptions = { cwd: outputDirectory }, | ||
pullOptions = { args: '-q', cwd: outputDirectory, quiet: true }, | ||
resetOptions = { args: '-q --hard', cwd: outputDirectory, quiet: true }, | ||
gitURL = '[email protected]:' + release.org + '/' + repoName + '.git', | ||
repoURL = 'https://github.com/' + release.org + '/' + repoName + '/', | ||
localRepoSetup = fs.existsSync(path.join(outputDirectory, '.git')) | ||
; | ||
|
||
console.log('Processing repository: ' + outputDirectory); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,8 @@ | |
*/ | ||
|
||
module.exports = { | ||
token : 'AN-OAUTH2-TOKEN', | ||
name : 'Your Name', | ||
email : '[email protected]' | ||
token : 'AN-OAUTH2-TOKEN', | ||
username : 'github-username', | ||
name : 'Your Name', | ||
email : '[email protected]' | ||
}; |