From e80dc4eb66567f8d1f4846fa8acc0d7845dfdb23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Sandstr=C3=B6m?= Date: Fri, 7 Aug 2020 06:49:12 +0200 Subject: [PATCH] Add command for updating repos --- update.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 update.sh diff --git a/update.sh b/update.sh new file mode 100755 index 0000000..cc39bde --- /dev/null +++ b/update.sh @@ -0,0 +1,17 @@ +#!/usr/bin/env bash + +set -e + +CURRENT_DIR=$PWD + +echo "Updating bakerydemo" +cd $CURRENT_DIR/bakerydemo && git pull --rebase + +echo "Updating wagtail" +cd $CURRENT_DIR/wagtail && git pull --rebase + +echo "Updating django-modelcluster" +cd $CURRENT_DIR/libs/django-modelcluster && git pull --rebase + +echo "Updating Willow" +cd $CURRENT_DIR/libs/Willow && git pull --rebase