chore: upgrade Godot 4.6 -> 4.7 stable in CI and local

This commit is contained in:
god
2026-07-04 09:20:08 +08:00
parent 2643ef24fa
commit 7c6f66e821
3 changed files with 31 additions and 45 deletions
+11 -11
View File
@@ -27,22 +27,22 @@ jobs:
- name: Setup Godot (Cached) - name: Setup Godot (Cached)
run: | run: |
apt-get install -y zip apt-get install -y zip
if [ ! -f /cache/godot_4.6 ]; then if [ ! -f /cache/godot_4.7 ]; then
echo "Downloading Godot 4.6..." echo "Downloading Godot 4.7..."
curl -sL -o /tmp/godot.zip "https://github.com/godotengine/godot-builds/releases/download/4.6-stable/Godot_v4.6-stable_linux.x86_64.zip" curl -sL -o /tmp/godot.zip "https://github.com/godotengine/godot-builds/releases/download/4.7-stable/Godot_v4.7-stable_linux.x86_64.zip"
unzip -q -o /tmp/godot.zip -d /cache/ unzip -q -o /tmp/godot.zip -d /cache/
mv /cache/Godot_v4.6-stable_linux.x86_64 /cache/godot_4.6 mv /cache/Godot_v4.7-stable_linux.x86_64 /cache/godot_4.7
fi fi
cp /cache/godot_4.6 /usr/local/bin/godot cp /cache/godot_4.7 /usr/local/bin/godot
chmod +x /usr/local/bin/godot chmod +x /usr/local/bin/godot
mkdir -p ~/.local/share/godot/export_templates/4.6.stable mkdir -p ~/.local/share/godot/export_templates/4.7.stable
if [ ! -f /cache/Godot_v4.6-stable_export_templates.tpz ]; then if [ ! -f /cache/Godot_v4.7-stable_export_templates.tpz ]; then
echo "Downloading templates..." echo "Downloading templates..."
curl -sL -o /cache/Godot_v4.6-stable_export_templates.tpz \ curl -sL -o /cache/Godot_v4.7-stable_export_templates.tpz \
"https://github.com/godotengine/godot-builds/releases/download/4.6-stable/Godot_v4.6-stable_export_templates.tpz" "https://github.com/godotengine/godot-builds/releases/download/4.7-stable/Godot_v4.7-stable_export_templates.tpz"
fi fi
cd ~/.local/share/godot/export_templates/4.6.stable cd ~/.local/share/godot/export_templates/4.7.stable
unzip -q -o /cache/Godot_v4.6-stable_export_templates.tpz unzip -q -o /cache/Godot_v4.7-stable_export_templates.tpz
mv templates/* . mv templates/* .
rm -rf templates rm -rf templates
cd $GITHUB_WORKSPACE cd $GITHUB_WORKSPACE
+20
View File
@@ -0,0 +1,20 @@
# Tekton Game - TODO
## Bugs to fix (checked 2026-07-04)
- [ ] **Playerboard desync** — doesn't refresh correctly, stuck
- [ ] **Multiple punch SFX** — sounds play more than once per punch
- [ ] **Currency not shared** — gacha wallet and shop wallet are separate
- [ ] **Multiplayer gauntlet mode broken** — single player works, multiplayer doesn't
## In Progress
- [ ] CI release pipeline (`docker network connect` approach pending verification)
## Done
- [x] Cleanup test runs 96-99
- [x] Remove test tag `v9.9.9-test`
- [x] Remove orphan Docker containers/networks/volumes
- [x] Prune dangling images (~7.7GB reclaimed)
- [x] Tailscale status check (peer traffic works; coordination-server sync is the only red)
-34
View File
@@ -1,34 +0,0 @@
import json
import sys
from datetime import date
if len(sys.argv) < 2:
print("Usage: patch_version.py <version> [notes]")
sys.exit(1)
version = sys.argv[1]
notes = sys.argv[2] if len(sys.argv) > 2 else ""
with open("assets/data/version.json", "r", encoding="utf-8") as f:
data = json.load(f)
changelog = [line.strip() for line in notes.splitlines() if line.strip()]
new_release = {
"version": version,
"date": date.today().isoformat(),
"pck_url": "https://raw.githubusercontent.com/adtpdn/tekton-updates/main/latest/patch.pck",
"pck_size": 0,
"changelog": changelog
}
# Remove existing entry for this version if any
data["releases"] = [r for r in data["releases"] if r.get("version") != version]
# Insert at top
data["releases"].insert(0, new_release)
data["latest_version"] = version
with open("assets/data/version.json", "w", encoding="utf-8") as f:
json.dump(data, f, indent="\t")
f.write("\n")