You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by xi...@apache.org on 2021/04/29 21:31:32 UTC
[incubator-pinot-site] branch asf-site updated (059d034 -> e7f210a)
This is an automated email from the ASF dual-hosted git repository.
xiangfu pushed a change to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-pinot-site.git.
discard 059d034 Update commit message
new e7f210a Update commit message
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (059d034)
\
N -- N -- N refs/heads/asf-site (e7f210a)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/workflows/scripts/publish-site.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[incubator-pinot-site] 01/01: Update commit message
Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
xiangfu pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-pinot-site.git
commit e7f210a93f8b1ffa8cf5d10fa8f280720939cec9
Author: Xiang Fu <xi...@gmail.com>
AuthorDate: Thu Apr 29 14:27:40 2021 -0700
Update commit message
---
.github/workflows/scripts/publish-site.sh | 29 ++++++++++++++---------------
1 file changed, 14 insertions(+), 15 deletions(-)
diff --git a/.github/workflows/scripts/publish-site.sh b/.github/workflows/scripts/publish-site.sh
index 827dcd4..f79b81a 100755
--- a/.github/workflows/scripts/publish-site.sh
+++ b/.github/workflows/scripts/publish-site.sh
@@ -24,23 +24,24 @@ ROOT_DIR=$(git rev-parse --show-toplevel)
SITE_DIR=${ROOT_DIR}/content
git branch
-# ORIGIN_REPO=$(git remote show origin | grep 'Push URL' | awk -F// '{print $NF}')
+# Build website
ORIGIN_REPO="https://github.com/apache/incubator-pinot-site"
echo "ORIGIN_REPO: $ORIGIN_REPO"
DEV_TMP=/tmp/pinot-site-dev
-(
- rm -rf $DEV_TMP
- mkdir $DEV_TMP
- cd $DEV_TMP
-
- git clone "$ORIGIN_REPO" .
- git checkout dev
- cd ${DEV_TMP}/website
- npm install yarn
- yarn install
- yarn run build
-)
+rm -rf $DEV_TMP
+mkdir $DEV_TMP
+cd $DEV_TMP
+
+git clone "$ORIGIN_REPO" .
+git checkout dev
+COMMIT_ID=`git rev-parse HEAD`
+GIT_MSG=`git rev-list --pretty --max-count=2 ${COMMIT_ID}`
+cd ${DEV_TMP}/website
+npm install yarn
+yarn install
+yarn run build
+
cd ${ROOT_DIR}
git status
@@ -55,8 +56,6 @@ git status
git config user.name "Pinot Site Updater"
git config user.email "dev@pinot.apache.org"
-COMMIT_ID=`git rev-parse HEAD`
-GIT_MSG=`git rev-list --pretty --max-count=1 ${COMMIT_ID}`
git commit -m "Update Pinot Site from dev branch ${COMMIT_ID}" -m "$GIT_MSG"
git log -2
git push origin asf-site
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org