mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-16 07:08:55 +00:00
add sdoc update script
This commit is contained in:
19
sdoc-helper.sh
Normal file
19
sdoc-helper.sh
Normal file
@@ -0,0 +1,19 @@
|
||||
#!/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
|
||||
|
||||
git add .
|
||||
|
||||
git commit -m "update sdoc version and sdoc translate"
|
||||
|
||||
# git push origin master
|
||||
|
Reference in New Issue
Block a user