diff --git a/README.md b/README.md index 5393615..94b3219 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Dendrite is a second-generation Matrix homeserver written in Go. It intends to p - Scalable: can run on multiple machines and eventually scale to massive homeserver deployments. -**Shipped version:** 0.6.5~ynh1 +**Shipped version:** 0.8.1~ynh1 diff --git a/README_fr.md b/README_fr.md index aacc821..b5caf52 100644 --- a/README_fr.md +++ b/README_fr.md @@ -20,7 +20,7 @@ Dendrite is a second-generation Matrix homeserver written in Go. It intends to p - Scalable: can run on multiple machines and eventually scale to massive homeserver deployments. -**Version incluse :** 0.6.5~ynh1 +**Version incluse :** 0.8.1~ynh1 diff --git a/conf/app.src b/conf/app.src index c89f70f..dcab461 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,7 +1,6 @@ -SOURCE_URL=https://api.github.com/repos/matrix-org/dendrite/tarball/v0.6.5 -SOURCE_SUM=b75e8515596658f2e1d6413c0f5a20fb6e92f51fd6f7675c925efd1f75c09200 +SOURCE_URL=https://api.github.com/repos/matrix-org/dendrite/tarball/v0.8.1 +SOURCE_SUM=0429a7fcd95a3b43cf72144571faac65a71e49e6b86f96b2471e22e5deeb79dc SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true SOURCE_FILENAME= -SOURCE_EXTRACT=true diff --git a/manifest.json b/manifest.json index e280b1b..5ec397f 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Matrix homeserver of second generation", "fr": "Serveur Matrix de seconde génération" }, - "version": "0.6.5~ynh1", + "version": "0.8.1~ynh1", "url": "https://matrix.org/", "upstream": { "license": "Apache-2.0", diff --git a/scripts/install b/scripts/install index badea49..2394a3d 100644 --- a/scripts/install +++ b/scripts/install @@ -126,6 +126,8 @@ ynh_exec_warn_less ynh_install_go --go_version=$GO_VERSION pushd "$final_path/build" # Build the sources ynh_use_go + export GOPATH="$final_path/build/go" + export GOCACHE="$final_path/build/.cache" CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/dendrite-monolith-server > /dev/null 2>&1 CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/goose > /dev/null 2>&1 CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/create-account > /dev/null 2>&1 diff --git a/scripts/upgrade b/scripts/upgrade index 4ae8a4e..7eb6e9b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -120,6 +120,8 @@ then pushd "$final_path/build" # Build the sources ynh_use_go + export GOPATH="$final_path/build/go" + export GOCACHE="$final_path/build/.cache" CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/dendrite-monolith-server > /dev/null 2>&1 CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/goose > /dev/null 2>&1 CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/create-account > /dev/null 2>&1