File size: 546 Bytes
216004d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env bash
# 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