Built motion from commit c5bbd83.|0.0.66
authorDaniele Cinti <daniele.cinti@xcally.com>
Tue, 15 Mar 2016 18:09:58 +0000 (19:09 +0100)
committerDaniele Cinti <daniele.cinti@xcally.com>
Tue, 15 Mar 2016 18:09:58 +0000 (19:09 +0100)
release-notes/changelog_0.0.66.txt
scripts/post-merge.sh [new file with mode: 0644]

index 25857c0..3b01b18 100644 (file)
@@ -1,5 +1,6 @@
 # xCALLY MOTION Changelog
 
+- * 0035cf9 - 2016-03-15: add scripts in gruntfile 
 - * 190d31b - 2016-03-15: Changed history move service and added missing history tables. 
 - * 4253e76 - 2016-03-15: migration add migration test file 
 - * c122b65 - 2016-03-15: migration test remove 
diff --git a/scripts/post-merge.sh b/scripts/post-merge.sh
new file mode 100644 (file)
index 0000000..92f1f1d
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+echo "post-merge started"
+cd /var/opt/motion
+npm install --production
+sequelize db:migrate --migrations-path server/migrations --config server/config/environment/dbconf.json
+pm2 restart motion
+echo "post-merge finished"