Bring back trans-copy.sh (#118)

Reviewed-on: https://gitea.com/gitea/gitea-docusaurus/pulls/118
Reviewed-by: delvh <[email protected]>
This commit is contained in:
techknowlogick
2024-03-16 02:43:09 +00:00
parent 4c86e23080
commit 9e2261d549
2 changed files with 34 additions and 0 deletions
+3
View File
@@ -33,7 +33,10 @@ prepare-awesome\#%:
clone_main: clone
cd .tmp/upstream-docs && git clean -f && git reset --hard && git checkout $(GITEA_LATEST_BRANCH)
cur_path=`pwd`
mkdir -p .tmp/upstream-docs/docs/scripts
cp .trans-copy.sh .tmp/upstream-docs/docs/scripts/trans-copy.sh
cd .tmp/upstream-docs/docs && bash scripts/trans-copy.sh
rm .tmp/upstream-docs/docs/scripts/trans-copy.sh
cd $(cur_path)
bash check_outdated.sh zh-cn