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