From 1ac4830b6eeb6a5e054ed9b7b4bdb34bd1ac4423 Mon Sep 17 00:00:00 2001 From: Philipp Le Date: Fri, 6 Nov 2020 00:04:28 +0100 Subject: Upgrading Wordpress to 5.5.3 --- upgrade.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 upgrade.sh (limited to 'upgrade.sh') diff --git a/upgrade.sh b/upgrade.sh new file mode 100755 index 0000000..5c4e9b3 --- /dev/null +++ b/upgrade.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +cd wordpress +git fetch --tags + +TAG="" +while [ "$TAG" = "" ]; do + read -p "Please enter tag, \"l\" to list tags or \"q\" to quit: " TAG + if [ "$TAG" = "l" ]; then + TAG="" + git tag + elif [ "$TAG" = "q" ]; then + exit 0 + fi +done + +git checkout $TAG + +cd .. -- cgit v1.1