mirror of
https://github.com/haiwen/seahub.git
synced 2025-04-28 03:10:45 +00:00
23 lines
543 B
Bash
23 lines
543 B
Bash
#!/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
|
|
|
|
|
|
tx pull -s -t -f seahub.sdoc-editor
|
|
|
|
cp -r media/sdoc-editor/locales/zh_CN/sdoc-editor.json media/sdoc-editor/locales/zh-CN/sdoc-editor.json
|
|
|
|
git add .
|
|
|
|
git commit -m "update sdoc version and sdoc translate"
|
|
|
|
git push origin master
|
|
|