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