From 770e6beae22fb4406493a5df29aa19b519b8ccfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Wed, 25 Apr 2018 21:56:42 +0000 Subject: [PATCH] Upgrade synapse to 0.28.0 --- README.md | 2 +- conf/armv7.src | 4 ++-- conf/python_source.src | 4 ++-- manifest.json | 2 +- scripts/upgrade | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index f871fbe..f801cb9 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Instant messaging server matrix network. Yunohost chatroom with matrix : [https://riot.im/app/#/room/#yunohost:matrix.org](https://riot.im/app/#/room/#yunohost:matrix.org) -**Shipped version:** 0.27.3 +**Shipped version:** 0.28.0 Configuration ------------- diff --git a/conf/armv7.src b/conf/armv7.src index a418ce4..be9d045 100644 --- a/conf/armv7.src +++ b/conf/armv7.src @@ -1,6 +1,6 @@ -SOURCE_URL=https://github.com/Josue-T/synapse_python_build/releases/download/v0.27.3/matrix-synapse_0.27.3-bin1_armv7l.tar.gz -SOURCE_SUM=2186deba40d1445005c147e7fa874a9e07e476c237be39dde92e30d940be2901 +SOURCE_URL=https://github.com/Josue-T/synapse_python_build/releases/download/v0.28.0/matrix-synapse_0.28.0-bin1_armv7l.tar.gz +SOURCE_SUM=00a2b9dba4e79de01cfad5595ed71e695793dff88d3c93ee481aebdb97b51348 # (Optional) Program to check the integrity (sha256sum, md5sum...) # default: sha256 SOURCE_SUM_PRG=sha256sum diff --git a/conf/python_source.src b/conf/python_source.src index f6aee0d..3fad1eb 100644 --- a/conf/python_source.src +++ b/conf/python_source.src @@ -1,2 +1,2 @@ -SOURCE_URL=https://github.com/matrix-org/synapse/archive/v0.27.3.tar.gz -SOURCE_SUM=838aa87c554e2c291f805d2b21af26ea9c9c4c97b7b9f317f913065e35dd42c8 +SOURCE_URL=https://github.com/matrix-org/synapse/archive/v0.28.0.tar.gz +SOURCE_SUM=543e5551e595b3d9cf850223640eceaa7efe6d1138074bed820e259b29a1c231 diff --git a/manifest.json b/manifest.json index b22e9fc..8fafd7a 100644 --- a/manifest.json +++ b/manifest.json @@ -9,7 +9,7 @@ "en": "Instant messaging server who use matrix", "fr": "Un serveur de messagerie instantané basé sur matrix" }, - "version": "0.27.3~ynh1", + "version": "0.28.0~ynh1", "url": "http://matrix.org", "license": "Apache-2.0", "maintainer": { diff --git a/scripts/upgrade b/scripts/upgrade index ee771bc..fac42ea 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -52,7 +52,7 @@ cli_port=$(ynh_app_setting_get $app cli_port) # While the official synapse version is updated, the idea is to test the migration with the new version. # If the migration pass we can update this next line with the new synapse package. # For more information see comment : https://github.com/YunoHost-Apps/synapse_ynh/pull/40#pullrequestreview-108680051 -if [[ -z $synapse_old_version ]] && [[ $(dpkg -l | grep -c -E "ii.*matrix-synapse.*0.27") != 1 ]] && [[ $(dpkg -l | grep -c -E "ii.*matrix-synapse.*0.26") != 1 ]] +if [[ -z $synapse_old_version ]] && [[ $(dpkg -l | grep -c -E "ii.*matrix-synapse.*0.27") != 1 ]] && [[ $(dpkg -l | grep -c -E "ii.*matrix-synapse.*0.28") != 1 ]] then ynh_die "Update from this synapse version is not available now. You need to wait for the next update." fi