From ae42db06da596627dc12b2148f376e1dd8456ba4 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Tue, 14 Dec 2021 07:48:22 +0100 Subject: [PATCH] =?UTF-8?q?invalidation=20cache=20Redis=20lors=20des=20mis?= =?UTF-8?q?es=20=C3=A0=20jour?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sco_version.py | 2 +- tools/debian/postinst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sco_version.py b/sco_version.py index 03eb189828..10ba1298cd 100644 --- a/sco_version.py +++ b/sco_version.py @@ -1,7 +1,7 @@ # -*- mode: python -*- # -*- coding: utf-8 -*- -SCOVERSION = "9.1.3" +SCOVERSION = "9.1.4" SCONAME = "ScoDoc" diff --git a/tools/debian/postinst b/tools/debian/postinst index 41441c8c4b..84001fc9eb 100755 --- a/tools/debian/postinst +++ b/tools/debian/postinst @@ -107,7 +107,7 @@ then # utilise les scripts dans migrations/version/ # pour mettre à jour notre base (en tant qu'utilisateur scodoc) export FLASK_ENV="production" - su -c "(cd $SCODOC_DIR && source venv/bin/activate && flask db upgrade)" "$SCODOC_USER" + su -c "(cd $SCODOC_DIR && source venv/bin/activate && flask db upgrade && flask clear-cache)" "$SCODOC_USER" fi # ------------ LOGROTATE