mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-31 14:42:10 +00:00
add seafile scripts
This commit is contained in:
31
scripts/server-release.md
Normal file
31
scripts/server-release.md
Normal file
@@ -0,0 +1,31 @@
|
||||
# Server Release Package
|
||||
|
||||
1. Libsearpc
|
||||
cd libsearpc;
|
||||
CFLAGS="-O2" configure --prefix=$dest
|
||||
make install
|
||||
2. Ccnet
|
||||
cd ccnet;
|
||||
CFLAGS="-O2" ./configure --enable-server-pkg --prefix=$dest
|
||||
make install
|
||||
3. Seafile
|
||||
cd seafile;
|
||||
CFLAGS="-O2" configure --enable-server-pkg --prefix=$dest
|
||||
make install
|
||||
4. copy shared libraries
|
||||
scripts/cp-shared-lib.py $dest/lib
|
||||
5. strip libs/executables
|
||||
python do-strip.py
|
||||
6. Update seahub
|
||||
cd seahub
|
||||
git fetch origin
|
||||
git checkout release
|
||||
git rebase origin/master
|
||||
|
||||
7. Pack
|
||||
./pack-server.sh 1.0.0
|
||||
|
||||
DONE!
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user