discourse update: use latest-release tag instead of detecting the latest tag

This commit is contained in:
Milan 2024-05-03 09:12:26 +02:00
parent 7aa56bb5f8
commit d996fd4102

View File

@ -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