discourse update: use latest-release tag instead of detecting the latest tag
This commit is contained in:
parent
7aa56bb5f8
commit
d996fd4102
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user