Skip to content

Commit

Permalink
Update sync_mult_prs.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Grace Cai <[email protected]>
  • Loading branch information
qiancai authored Jan 29, 2024
1 parent aba6a0d commit 99fd2fb
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions sync_mult_prs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,17 @@ cd "$SCRIPT_DIR"

# Define the PRs to sync.
# The PRs will be synced in the order of the following statements.
./sync_pr.sh preview/pingcap/docs/"$DOCS_PR"
./sync_pr.sh preview/pingcap/docs-cn/"$DOCS_CN_PR"
./sync_pr.sh preview-cloud/pingcap/docs/"$CLOUD_DOCS_PR"
./sync_pr.sh preview-operator/pingcap/docs-tidb-operator/"$OPERATOR_DOCS_PR"
# ./sync_pr.sh preview/pingcap/docs/"$DOCS_PR"
./sync_pr.sh preview/pingcap/docs-cn/16164
./sync_pr.sh preview/pingcap/docs-cn/16165
# ./sync_pr.sh preview-cloud/pingcap/docs/"$CLOUD_DOCS_PR"
# ./sync_pr.sh preview-operator/pingcap/docs-tidb-operator/"$OPERATOR_DOCS_PR"

# Synchronize the content from master to release-x.y directories.
rsync -av markdown-pages/zh/tidb/master/ markdown-pages/zh/tidb/"$RELEASE_DIR"/
rsync -av markdown-pages/en/tidb/master/ markdown-pages/en/tidb/"$RELEASE_DIR"/
rsync -av markdown-pages/en/tidb-in-kubernetes/master/ markdown-pages/en/tidb-in-kubernetes/"$RELEASE_DIR"/
rsync -av markdown-pages/zh/tidb-in-kubernetes/master/ markdown-pages/zh/tidb-in-kubernetes/"$RELEASE_DIR"/
# rsync -av markdown-pages/zh/tidb/master/ markdown-pages/zh/tidb/"$RELEASE_DIR"/
# rsync -av markdown-pages/en/tidb/master/ markdown-pages/en/tidb/"$RELEASE_DIR"/
# rsync -av markdown-pages/en/tidb-in-kubernetes/master/ markdown-pages/en/tidb-in-kubernetes/"$RELEASE_DIR"/
# rsync -av markdown-pages/zh/tidb-in-kubernetes/master/ markdown-pages/zh/tidb-in-kubernetes/"$RELEASE_DIR"/

commit_changes() {
# Exit if TEST is set and not empty.
Expand Down

0 comments on commit 99fd2fb

Please sign in to comment.