From 89fe9bcfa228dc79c6927d96429e3019409eeb34 Mon Sep 17 00:00:00 2001 From: Tim de Gruisbourne Date: Fri, 5 Jun 2020 13:49:07 +0200 Subject: [PATCH] Update Rentschler fixes: #1 --- switch-to-kirby-dev.sh | 15 +++++++++++++++ update-kirby.sh | 15 +++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 switch-to-kirby-dev.sh create mode 100644 update-kirby.sh diff --git a/switch-to-kirby-dev.sh b/switch-to-kirby-dev.sh new file mode 100644 index 0000000..2d3df53 --- /dev/null +++ b/switch-to-kirby-dev.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +# change to the kirby directory +cd "$(dirname "$0")/kirby" + +# update to the latest version +git checkout develop +git pull + +# change back into the main project folder +cd .. + +# add the updated Kirby submodule and commit +git add kirby +git commit -m "Switched to Kirby-Dev Version" \ No newline at end of file diff --git a/update-kirby.sh b/update-kirby.sh new file mode 100644 index 0000000..4d2f1ee --- /dev/null +++ b/update-kirby.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +# change to the kirby directory +cd "$(dirname "$0")/kirby" + +# update to the latest version +git checkout master +git pull + +# change back into the main project folder +cd .. + +# add the updated Kirby submodule and commit +git add kirby +git commit -m "Update Kirby" \ No newline at end of file