# Changelog ## 2026-04-27 - Switched automatic Gitea version detection to prefer the official GitHub releases API. - Kept `https://dl.gitea.com/gitea/version.json` as a fallback because it may lag behind published releases. - Added explicit support for overriding the target version with `./build.sh ` or `GITEA_VERSION= ./build.sh`. - Added runtime logging so `build.sh` prints which version source was used.