Files
godot-ci/scripts/resolve-godot-version.sh
haylanandClaude-Bot 20d3660485 fix(ci): restore executable bit on directly-invoked scripts
scripts/resolve-blender-url.sh, resolve-godot-version.sh, and
test-lib.sh were committed as mode 644 (Windows checkouts don't
preserve the git exec bit, and it was never set). publish.yml invokes
the first two as ./scripts/resolve-*.sh, which needs it — the runner
failed with "Permission denied". lib.sh stays 644, it's only sourced.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-06 22:16:06 +02:00

9 lines
270 B
Bash
Executable File

#!/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