update to 28.1.0 (#578)

Bump the v28 docs to the 28.1.0 release, following the 1.27.3 bump (#532):

- point the `28` version variables (`version`, `sourceVersion`, `dockerVersion`, `displayVersion`) at 28.1.0
- update the v28 entry in `update_api_docs.sh` to `28.1.0`
- regenerate `static/swagger-28.json` and `static/openapi3-28.json` from the `v28.1.0` tag

---------

Co-authored-by: Lunny Xiao <[email protected]>
Reviewed-on: https://gitea.com/gitea/docs/pulls/578
Reviewed-by: TheFox0x7 <[email protected]>
Co-authored-by: bircni <[email protected]>
This commit is contained in:
bircniandLunny Xiao authored and Lunny Xiao committed 2026-10-07 03:00:58 +00:00
1 parent bc7e2b3caa
commit 444879b492
4 files changed
+7 -7

No files matched your search

+4 -4
View File
@@ -89,11 +89,11 @@ const variables: Record<string, VersionVariables> = {
goVersion: '1.27', goVersion: '1.27',
minGoVersion: '1.27', minGoVersion: '1.27',
minNodeVersion: '22', minNodeVersion: '22',
version: '28.0.0', version: '28.1.0',
sourceVersion: 'v28.0.0', sourceVersion: 'v28.1.0',
sourceBranch: 'release/v28', sourceBranch: 'release/v28',
dockerVersion: '28.0.0', dockerVersion: '28.1.0',
displayVersion: '28.0.0', displayVersion: '28.1.0',
}, },
'1.27': { '1.27': {
goVersion: '1.26', goVersion: '1.26',
+1 -1
View File
@@ -11119,7 +11119,7 @@
"url": "http://opensource.org/licenses/MIT" "url": "http://opensource.org/licenses/MIT"
}, },
"title": "Gitea API", "title": "Gitea API",
"version": "28.0.0" "version": "28.1.0"
}, },
"openapi": "3.0.3", "openapi": "3.0.3",
"paths": { "paths": {
+1 -1
View File
@@ -17,7 +17,7 @@
"name": "MIT", "name": "MIT",
"url": "http://opensource.org/licenses/MIT" "url": "http://opensource.org/licenses/MIT"
}, },
"version": "28.0.0" "version": "28.1.0"
}, },
"basePath": "https://gitea.com/api/v1", "basePath": "https://gitea.com/api/v1",
"paths": { "paths": {
+1 -1
View File
@@ -127,7 +127,7 @@ if [ "$LATEST_ONLY" -eq 1 ]; then
exit 0 exit 0
fi fi
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 for ver in '28.1.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 # 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) # without the 1. prefix with the major (28.0.0 -> 28)
case "$ver" in case "$ver" in