Skip to content

Commit

Permalink
Merge pull request #79 from Gustl22/fix-git-tags
Browse files Browse the repository at this point in the history
Fix git tags, update links
  • Loading branch information
jobenvil authored Feb 22, 2021
2 parents cd31b12 + 0ac980b commit d1c3534
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ $ sudo ./build.sh

## Manual and Guides

- [Seafile Offical Document](http://manual.seafile.com/deploy/using_sqlite.html)
- [Build Seafile server](https://manual.seafile.com/build_seafile/rpi/)
- [Deploy Seafile server](https://manual.seafile.com/deploy/)

## Reporting Issues / GitHub Issues

Expand Down
18 changes: 9 additions & 9 deletions build3.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# Usage: ./build3.sh 8.0.2
# Usage: ./build3.sh 8.0.3

#
# CONST
Expand All @@ -18,7 +18,7 @@ PREFIX=$HOME/opt/local
LIBSEARPC_VERSION_LATEST=3.2-latest # check if new tag is available on https://github.com/haiwen/libsearpc/releases
LIBSEARPC_VERSION_FIXED=3.1.0 # libsearpc sticks to 3.1.0 https://github.com/haiwen/libsearpc/commit/43d768cf2eea6afc6e324c2b1a37a69cd52740e3
LIBSEARPC_TAG=v$LIBSEARPC_VERSION_LATEST
VERSION=${1:-'8.0.2'} # easily pass the Seafile server version to the build3.sh script
VERSION=${1:-'8.0.3'} # easily pass the Seafile server version to the build3.sh script
VERSION_TAG=v$VERSION-server
VERSION_CCNET=6.0.1 # ccnet has not consistent version (see configure.ac)
VERSION_SEAFILE=6.0.1 # ebenda for seafile
Expand Down Expand Up @@ -118,8 +118,8 @@ build_libevhtp()
if [ -d "libevhtp" ]; then
cd libevhtp
(set -x; make clean)
(set -x; git fetch origin --tags)
(set -x; git reset --hard origin/master)
(set -x; git pull)
else
(set -x; git clone https://www.github.com/haiwen/libevhtp.git)
cd libevhtp
Expand Down Expand Up @@ -161,8 +161,8 @@ build_libsearpc()
if [ -d "libsearpc" ]; then
cd libsearpc
(set -x; make clean && make distclean)
(set -x; git fetch origin --tags)
(set -x; git reset --hard origin/master)
(set -x; git pull)
else
(set -x; git clone https://github.com/haiwen/libsearpc.git)
cd libsearpc
Expand All @@ -187,8 +187,8 @@ build_ccnet()
if [ -d "ccnet-server" ]; then
cd ccnet-server
(set -x; make clean && make distclean)
(set -x; git fetch origin --tags)
(set -x; git reset --hard origin/master)
(set -x; git pull)
else
(set -x; git clone https://github.com/haiwen/ccnet-server.git)
cd ccnet-server
Expand All @@ -213,8 +213,8 @@ build_seafile()
if [ -d "seafile-server" ]; then
cd seafile-server
(set -x; make clean && make distclean)
(set -x; git fetch origin --tags)
(set -x; git reset --hard origin/master)
(set -x; git pull)
else
(set -x; git clone https://github.com/haiwen/seafile-server.git)
cd seafile-server
Expand Down Expand Up @@ -283,8 +283,8 @@ build_seahub()
if [ -d "seahub" ]; then
cd seahub
(set -x; make clean)
(set -x; git fetch origin --tags)
(set -x; git reset --hard origin/master)
(set -x; git pull)
else
(set -x; git clone https://github.com/haiwen/seahub.git)
cd seahub
Expand Down Expand Up @@ -326,8 +326,8 @@ build_seafobj()
cd $BUILDFOLDER
if [ -d "seafobj" ]; then
cd seafobj
(set -x; git fetch origin --tags)
(set -x; git reset --hard origin/master)
(set -x; git pull)
else
(set -x; git clone https://github.com/haiwen/seafobj.git)
cd seafobj
Expand All @@ -349,8 +349,8 @@ build_seafdav()
cd $BUILDFOLDER
if [ -d "seafdav" ]; then
cd seafdav
(set -x; git fetch origin --tags)
(set -x; git reset --hard origin/master)
(set -x; git pull)
else
(set -x; git clone https://github.com/haiwen/seafdav.git)
cd seafdav
Expand Down

0 comments on commit d1c3534

Please sign in to comment.