#!/bin/sh# Force an immediate re-fetch of GitHub release assets.# Usage (from host): ./scripts/refresh-releases.sh [http://host:8081]# Usage (in container): ./scripts/refresh-releases.shset -eurl="/internal/refresh"if command -v curl >/dev/null 2>&1; thencurl -fsS -X POST "$url"elif command -v wget >/dev/null 2>&1; thenwget -q -O- --post-data='' "$url"elseecho "error: curl or wget required" >&2exit 1fiechoecho "Releases refreshed."