From 7c6f66e8213cd40b37eaa079c06a4f1a3b51ec53 Mon Sep 17 00:00:00 2001 From: god Date: Sat, 4 Jul 2026 09:20:08 +0800 Subject: [PATCH] chore: upgrade Godot 4.6 -> 4.7 stable in CI and local --- .gitea/workflows/ci.yml | 22 +++++++++++----------- TODO.md | 20 ++++++++++++++++++++ patch_version.py | 34 ---------------------------------- 3 files changed, 31 insertions(+), 45 deletions(-) create mode 100644 TODO.md delete mode 100644 patch_version.py diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index e98630e..0aee71c 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -27,22 +27,22 @@ jobs: - name: Setup Godot (Cached) run: | apt-get install -y zip - if [ ! -f /cache/godot_4.6 ]; then - echo "Downloading Godot 4.6..." - 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" + if [ ! -f /cache/godot_4.7 ]; then + echo "Downloading Godot 4.7..." + 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/ - 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 - cp /cache/godot_4.6 /usr/local/bin/godot + cp /cache/godot_4.7 /usr/local/bin/godot chmod +x /usr/local/bin/godot - mkdir -p ~/.local/share/godot/export_templates/4.6.stable - if [ ! -f /cache/Godot_v4.6-stable_export_templates.tpz ]; then + mkdir -p ~/.local/share/godot/export_templates/4.7.stable + if [ ! -f /cache/Godot_v4.7-stable_export_templates.tpz ]; then echo "Downloading templates..." - curl -sL -o /cache/Godot_v4.6-stable_export_templates.tpz \ - "https://github.com/godotengine/godot-builds/releases/download/4.6-stable/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.7-stable/Godot_v4.7-stable_export_templates.tpz" fi - cd ~/.local/share/godot/export_templates/4.6.stable - unzip -q -o /cache/Godot_v4.6-stable_export_templates.tpz + cd ~/.local/share/godot/export_templates/4.7.stable + unzip -q -o /cache/Godot_v4.7-stable_export_templates.tpz mv templates/* . rm -rf templates cd $GITHUB_WORKSPACE diff --git a/TODO.md b/TODO.md new file mode 100644 index 0000000..be2933f --- /dev/null +++ b/TODO.md @@ -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) diff --git a/patch_version.py b/patch_version.py deleted file mode 100644 index 506032a..0000000 --- a/patch_version.py +++ /dev/null @@ -1,34 +0,0 @@ -import json -import sys -from datetime import date - -if len(sys.argv) < 2: - print("Usage: patch_version.py [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")