X Tutup
Skip to content

Commit e40ff36

Browse files
committed
fix(presubmit): corrected user/email for git push
1 parent c5f8c95 commit e40ff36

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/ci/presubmit-queue-setup.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ if [ "$TRAVIS_REPO_SLUG" = "angular/angular" ]; then
1111
git config credential.helper "store --file=.git/credentials"
1212
# travis encrypt GITHUB_TOKEN_ANGULAR=??? --repo=angular/angular
1313
echo "https://${GITHUB_TOKEN_ANGULAR}:@github.com" > .git/credentials
14-
git config user.name "travis@travis-ci.org"
14+
git config user.name "`git --no-pager show -s --format='%cN' HEAD`"
15+
git config user.email "`git --no-pager show -s --format='%cE' HEAD`"
1516

1617
git remote add upstream https://github.com/angular/angular.git
1718
git fetch upstream master

scripts/ci/presubmit-queue-success.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,3 @@ EOM
4141
fi
4242
fi
4343
fi
44-
`

0 commit comments

Comments
 (0)
X Tutup