chore: Improve update script in case of local changes (#18837)

* Stash local changes to prevent update failing

Call git stash to stash any local changes that would prevent the update.sh script from failing

* Update update.sh

changed to git checkout package-lock.json
This commit is contained in:
rbswift authored and GitHub committed 2023-09-02 09:08:09 +02:00
1 parent 7ee207fc0e
commit f224ef7b7c
1 file changed
+3
+3
View File
@@ -17,6 +17,9 @@ fi
echo "Creating backup of configuration..."
cp -R data data-backup
echo "Checking out changes to package-lock.json..."
git checkout package-lock.json
echo "Updating..."
git pull