1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-05-04 05:56:23 +00:00
seahub/sdoc-helper.sh

23 lines
543 B
Bash
Raw Normal View History

2023-11-04 03:01:09 +00:00
#!/bin/sh
cd frontend
npm install @seafile/sdoc-editor@latest
cd ..
cp -r frontend/node_modules/@seafile/sdoc-editor/public/media/sdoc-editor-font media/sdoc-editor/sdoc-editor-font
cp -r frontend/node_modules/@seafile/sdoc-editor/public/media/sdoc-editor-font.css media/sdoc-editor/sdoc-editor-font.css
2023-11-06 03:25:48 +00:00
2023-11-04 03:01:09 +00:00
tx pull -s -t -f seahub.sdoc-editor
2023-11-06 03:25:48 +00:00
cp -r media/sdoc-editor/locales/zh_CN/sdoc-editor.json media/sdoc-editor/locales/zh-CN/sdoc-editor.json
2023-11-06 03:22:03 +00:00
git add .
2023-11-04 03:01:09 +00:00
2023-11-06 03:22:03 +00:00
git commit -m "update sdoc version and sdoc translate"
2023-11-04 03:01:09 +00:00
2023-11-06 03:22:03 +00:00
git push origin master
2023-11-04 03:01:09 +00:00