Add version v28 (#564)

<!-- cloudflare-preview --> Preview: https://pr-564.docs-gitea-com.pages.dev

Reviewed-on: https://gitea.com/gitea/docs/pulls/564
Reviewed-by: bircni <[email protected]>
Co-authored-by: Lunny Xiao <[email protected]>
This commit is contained in:
Lunny Xiao authored and bircni committed 2026-09-30 06:40:44 +00:00
1 parent deb2f068d4
commit ba60edbbda
338 files changed
+114457 -47

No files matched your search

+8 -3
View File
@@ -127,7 +127,12 @@ if [ "$LATEST_ONLY" -eq 1 ]; then
exit 0
fi
for ver in '1.27.3' '1.26.4' '1.25.5' '1.24.7' '1.23.8' '1.22.6'; do
minor=$(echo "$ver" | cut -d '.' -f 2)
update_version "refs/tags/v${ver}" "${ver}" "${minor}"
for ver in '28.0.0' '1.27.3' '1.26.4' '1.25.5' '1.24.7' '1.23.8' '1.22.6'; do
# 1.x releases are suffixed with the minor (1.27.3 -> 27), the versions
# without the 1. prefix with the major (28.0.0 -> 28)
case "$ver" in
1.*) suffix=$(echo "$ver" | cut -d '.' -f 2) ;;
*) suffix=$(echo "$ver" | cut -d '.' -f 1) ;;
esac
update_version "refs/tags/v${ver}" "${ver}" "${suffix}"
done