fix(presubmit): corrected user/email for git push
This commit is contained in:
parent
c5f8c9586f
commit
e40ff36832
|
@ -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
|
||||
|
|
|
@ -41,4 +41,3 @@ EOM
|
|||
fi
|
||||
fi
|
||||
fi
|
||||
`
|
||||
|
|
Loading…
Reference in New Issue