Download scripts/upgrade.sh from logos42/headless: direct link, hf CLI and curl.
- Browser
- Download file 546 Bytes
-
https://huggingface.co/logos42/headless/resolve/main/scripts/upgrade.sh
- Command line
-
hf download hf://logos42/headless/scripts/upgrade.sh
-
curl -L -o upgrade.sh https://huggingface.co/logos42/headless/resolve/main/scripts/upgrade.sh
546 Bytes
| # llm-wiki-version: 1.2.2 | |
| # Upgrade LLM-wiki scripts to latest version. | |
| # Updates validation scripts and CI only. Never touches wiki content. | |
| set -euo pipefail | |
| REPO="https://github.com/Ss1024sS/LLM-wiki.git" | |
| TMP=$(mktemp -d) | |
| trap "rm -rf $TMP" EXIT | |
| echo "Fetching latest LLM-wiki..." | |
| git clone --depth 1 "$REPO" "$TMP/repo" 2>/dev/null | |
| UPGRADE="$TMP/repo/scripts/upgrade_knowledge_system.py" | |
| if [ -f "$UPGRADE" ]; then | |
| python3 "$UPGRADE" "$(pwd)" | |
| else | |
| echo "Error: upgrade script not found in latest LLM-wiki" | |
| exit 1 | |
| fi | |