Replace the fixed 4.7.1 Dockerfile/workflow pin with: - a nightly schedule that resolves the newest stable Godot (4.0+) and newest stable Blender, and builds+pushes <version> plus a floating latest tag only when the Godot version actually changed - a workflow_dispatch free-text version input to (re)build any specific Godot version on demand, always with newest-at-build-time Blender, overwriting that tag without touching latest - scripts/resolve-godot-version.sh and scripts/resolve-blender-url.sh, with shared parsing logic in scripts/lib.sh and an offline smoke test in scripts/test-lib.sh - Blender is now fetched directly from download.blender.org instead of apt (Ubuntu noble's apt package is stuck on 4.0.2) - drop the push-to-main trigger; schedule + workflow_dispatch only Scope is Godot 4.0+ only — .blend import is a Godot 4 feature, so 3.x builds have no use for the Blender toolchain this image adds. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
9 lines
270 B
Bash
9 lines
270 B
Bash
#!/usr/bin/env bash
|
|
# Prints the newest stable Godot Engine version (e.g. "4.7.1"), no "-stable" suffix.
|
|
# Requires: curl, jq.
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")"
|
|
. ./lib.sh
|
|
|
|
curl -fsSL https://api.github.com/repos/godotengine/godot/releases | parse_latest_godot_tag
|