Compare commits

..

No commits in common. "d996fd41028a8311ced51cba9c7c74cd3a3368aa" and "b472f9624a18f91747364f54a9d312bef63cb420" have entirely different histories.

View File

@ -14,7 +14,6 @@ fi
echo echo
basedir=$HOME/discourse basedir=$HOME/discourse
services="sidekiq discourse"
patch=$HOME/latest.patch patch=$HOME/latest.patch
# not clear why this is a samplefile # not clear why this is a samplefile
# they seem to do this by hand on the docker repo # they seem to do this by hand on the docker repo
@ -24,12 +23,11 @@ nodever=$(curl -s https://raw.githubusercontent.com/discourse/discourse_docker/m
cd $basedir cd $basedir
git fetch -q
# attempting not having to use a patchfile # attempting not having to use a patchfile
git stash git stash
# lets roll with their doctor scripts command git checkout $(git tag -l | grep -v 'rc[0-9]*$' | sort -V | tail -n 1)
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 git stash apply
# failsafe if stash apply causes too much trouble # failsafe if stash apply causes too much trouble
@ -61,8 +59,8 @@ then
fi fi
RAILS_ENV=production bundle exec rails db:migrate RAILS_ENV=production bundle exec rails db:migrate
systemctl restart --user $services systemctl restart --user discourse
sleep 2 sleep 2
systemctl status --user $services systemctl status --user discourse