From 011d7d014d1953abfd155f8cb712132e5f8c7c26 Mon Sep 17 00:00:00 2001 From: M33 <327-m33@git.qoto.org> Date: Fri, 4 Feb 2022 12:33:27 +0000 Subject: [PATCH] Update check_update_misskey_git.sh --- check_update_misskey_git.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/check_update_misskey_git.sh b/check_update_misskey_git.sh index 88f0614..9a08912 100755 --- a/check_update_misskey_git.sh +++ b/check_update_misskey_git.sh @@ -34,6 +34,7 @@ mv package.json package.json.$$ # Compare version before/after pulling files currentVersion=`grep version package.json.$$ | awk '{ print $2 }' | sed 's/\"//g' | sed 's/,//'` +git fetch --all git checkout origin/master -- package.json if [ $? -ne 0 ]; then echo "Error, bailing out"