#2147 added a git fetch before git checkout

This commit is contained in:
rootzoll 2021-04-08 01:26:58 +02:00
parent b2f1f138e9
commit bf5223b058

View File

@ -351,6 +351,7 @@ if [ "$1" = "update" ]; then
# Preserve Config
sudo cp backend/mempool-config.json /home/admin
sudo -u mempool git fetch
sudo -u mempool git checkout $updateVersion
echo "# npm install for mempool explorer (backend)"