You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ur...@apache.org on 2022/06/16 05:14:42 UTC
[pulsar-site] branch main updated: fix: update build script
This is an automated email from the ASF dual-hosted git repository.
urfree pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
The following commit(s) were added to refs/heads/main by this push:
new c21acc7f029 fix: update build script
c21acc7f029 is described below
commit c21acc7f029ef451ca72599d8c4c1c9f865d702b
Author: Li Li <ur...@apache.org>
AuthorDate: Thu Jun 16 13:14:32 2022 +0800
fix: update build script
Signed-off-by: Li Li <ur...@apache.org>
---
site2/website-next/scripts/split-version-build.sh | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/site2/website-next/scripts/split-version-build.sh b/site2/website-next/scripts/split-version-build.sh
index 93b8b40ea63..62bcaf150cd 100755
--- a/site2/website-next/scripts/split-version-build.sh
+++ b/site2/website-next/scripts/split-version-build.sh
@@ -53,8 +53,6 @@ function _buildVersion() {
yarn write-translations
CURRENT_HOUR=$(date +%H)
CURRENT_HOUR=${CURRENT_HOUR#0}
-#force set CURRENT_HOUR for testing crowdin download and build all
-CURRENT_HOUR=18
echo "------ crowdin envs:" "CROWDIN_UPLOAD: "$CROWDIN_UPLOAD "CROWDIN_DOWNLOAD: "$CROWDIN_DOWNLOAD "CURRENT_HOUR: "$CURRENT_HOUR
if [[ $CURRENT_HOUR -eq 0 ]]; then
echo "------ exec crowdin upload"
@@ -62,6 +60,9 @@ if [[ $CURRENT_HOUR -eq 0 ]]; then
else
echo "------ skip crowdin upload"
fi
+
+#force set CURRENT_HOUR for testing crowdin download and build all
+CURRENT_HOUR=18
if [[ $CURRENT_HOUR -eq 18 ]]; then
echo "------ exec crowdin download"
yarn crowdin-download