chore(build): git config prior to committing
This commit is contained in:
parent
d013fc7604
commit
60a2bbb226
|
@ -47,12 +47,12 @@ function publishRepo {
|
||||||
|
|
||||||
(
|
(
|
||||||
cd $REPO_DIR && \
|
cd $REPO_DIR && \
|
||||||
git add --all && \
|
|
||||||
git commit -m "${COMMIT_MSG}" && \
|
|
||||||
git config credential.helper "store --file=.git/credentials" && \
|
git config credential.helper "store --file=.git/credentials" && \
|
||||||
echo "https://${GITHUB_TOKEN_ANGULAR}:@github.com" > .git/credentials && \
|
echo "https://${GITHUB_TOKEN_ANGULAR}:@github.com" > .git/credentials && \
|
||||||
git config user.name "${COMMITTER_USER_NAME}" && \
|
git config user.name "${COMMITTER_USER_NAME}" && \
|
||||||
git config user.email "${COMMITTER_USER_EMAIL}" && \
|
git config user.email "${COMMITTER_USER_EMAIL}" && \
|
||||||
|
git add --all && \
|
||||||
|
git commit -m "${COMMIT_MSG}" && \
|
||||||
git push origin $BUILD_BRANCH && \
|
git push origin $BUILD_BRANCH && \
|
||||||
git tag "2.0.0-build.${SHORT_SHA}.${LANG}" && \
|
git tag "2.0.0-build.${SHORT_SHA}.${LANG}" && \
|
||||||
git push origin --tags
|
git push origin --tags
|
||||||
|
|
Loading…
Reference in New Issue