fix(presubmit): corrected user/email for git push

This commit is contained in:
Misko Hevery 2015-07-29 03:39:43 +00:00
parent c5f8c9586f
commit e40ff36832
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,8 @@ if [ "$TRAVIS_REPO_SLUG" = "angular/angular" ]; then
git config credential.helper "store --file=.git/credentials"
# travis encrypt GITHUB_TOKEN_ANGULAR=??? --repo=angular/angular
echo "https://${GITHUB_TOKEN_ANGULAR}:@github.com" > .git/credentials
git config user.name "travis@travis-ci.org"
git config user.name "`git --no-pager show -s --format='%cN' HEAD`"
git config user.email "`git --no-pager show -s --format='%cE' HEAD`"
git remote add upstream https://github.com/angular/angular.git
git fetch upstream master

View File

@ -41,4 +41,3 @@ EOM
fi
fi
fi
`