From 79a9f9b459e991cd0d42a27dc0cdfdf48a2862de Mon Sep 17 00:00:00 2001 From: Jeffrey Townsend Date: Mon, 15 May 2017 14:31:24 -0700 Subject: [PATCH] Add post-install update hook. TODO: parameterize --- tools/autobuild/install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/autobuild/install.sh b/tools/autobuild/install.sh index 9f904a76..d86ecd1c 100755 --- a/tools/autobuild/install.sh +++ b/tools/autobuild/install.sh @@ -91,3 +91,4 @@ _rsync() { sshpass -p $REMOTE_PASS ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -l $REMOTE_USER $REMOTE_SERVER mkdir -p $REMOTE_DIR _rsync $ONL/RELEASE $REMOTE_SERVER:$REMOTE_DIR _rsync $ONL/REPO $REMOTE_SERVER:$REMOTE_DIR +sshpass -p $REMOTE_PASS ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -l $REMOTE_USER $REMOTE_SERVER "$REMOTE_BASE_DIR/.tools/update-latest.py" --dir "$REMOTE_BASE_DIR/$BUILD_BRANCH" || true