From d996fd41028a8311ced51cba9c7c74cd3a3368aa Mon Sep 17 00:00:00 2001 From: Milan Date: Fri, 3 May 2024 09:12:26 +0200 Subject: [PATCH] discourse update: use latest-release tag instead of detecting the latest tag --- updates/discourse.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/updates/discourse.sh b/updates/discourse.sh index 35f2ca1..bc08335 100644 --- a/updates/discourse.sh +++ b/updates/discourse.sh @@ -24,11 +24,12 @@ nodever=$(curl -s https://raw.githubusercontent.com/discourse/discourse_docker/m cd $basedir -git fetch -q - # attempting not having to use a patchfile git stash -git checkout $(git tag -l | grep -v 'rc[0-9]*$' | sort -V | tail -n 1) +# lets roll with their doctor scripts command +git fetch --tags --prune-tags --prune --force origin +git checkout latest-release # they seem to update this tag, not sure if we need to checkout +#git pull git stash apply # failsafe if stash apply causes too much trouble