From 0c75f1d62f4f242ff8e84a2a32ab589b1e2cefea Mon Sep 17 00:00:00 2001 From: Arturs Sosins Date: Thu, 19 Jan 2017 12:48:31 +0200 Subject: [PATCH] [upgrade] 16.12.2 --- bin/upgrade/16.12.2/upgrade.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 bin/upgrade/16.12.2/upgrade.sh diff --git a/bin/upgrade/16.12.2/upgrade.sh b/bin/upgrade/16.12.2/upgrade.sh new file mode 100644 index 00000000000..347aea57394 --- /dev/null +++ b/bin/upgrade/16.12.2/upgrade.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../.." && pwd )" + +#enable command line +bash $DIR/scripts/detect.init.sh + +#upgrade plugins +countly plugin upgrade push + +countly update sdk-web + +#add indexes +nodejs $DIR/scripts/add_indexes.js + +#install dependencies, process files and restart countly +countly upgrade \ No newline at end of file