From 60a2bbb226bacd6b86a9e906fc18c6809ccafd8d Mon Sep 17 00:00:00 2001 From: Yegor Jbanov Date: Tue, 17 Nov 2015 14:56:51 -0800 Subject: [PATCH] chore(build): git config prior to committing --- scripts/ci/publish-build-artifacts.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/ci/publish-build-artifacts.sh b/scripts/ci/publish-build-artifacts.sh index 4ff75c3cfe..360f894dad 100755 --- a/scripts/ci/publish-build-artifacts.sh +++ b/scripts/ci/publish-build-artifacts.sh @@ -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