push_database more resilient in case there are no stashed changes.

This commit is contained in:
José Manuel Barroso Galindo
2022-12-30 22:50:50 +01:00
committed by GitHub
parent ad35e7ddd6
commit 56ad5f6b6f

View File

@@ -23,7 +23,7 @@ fi
DB_ZIP_NAME="${DB_JSON_NAME}.zip"
echo "Creating ${DB_ZIP_NAME} from ${DB_JSON_NAME}."
git stash pop
git stash pop || true
zip "${DB_ZIP_NAME}" "${DB_JSON_NAME}"
git add "${DB_ZIP_NAME}"
git add README.md