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