chore(build): git config prior to committing

This commit is contained in:
Yegor Jbanov 2015-11-17 14:56:51 -08:00
parent d013fc7604
commit 60a2bbb226
1 changed files with 2 additions and 2 deletions

View File

@ -47,12 +47,12 @@ function publishRepo {
(
cd $REPO_DIR && \
git add --all && \
git commit -m "${COMMIT_MSG}" && \
git config credential.helper "store --file=.git/credentials" && \
echo "https://${GITHUB_TOKEN_ANGULAR}:@github.com" > .git/credentials && \
git config user.name "${COMMITTER_USER_NAME}" && \
git config user.email "${COMMITTER_USER_EMAIL}" && \
git add --all && \
git commit -m "${COMMIT_MSG}" && \
git push origin $BUILD_BRANCH && \
git tag "2.0.0-build.${SHORT_SHA}.${LANG}" && \
git push origin --tags