update 1.26.1

This commit is contained in:
Lunny Xiao
2026-04-25 11:28:59 -07:00
parent 3ef08b184a
commit 49a6f7649a
3 changed files with 7 additions and 7 deletions

View File

@@ -82,11 +82,11 @@ const globalVariables = {
goVersion: "1.26",
minGoVersion: "1.26",
minNodeVersion: "22",
version: "1.26.0",
sourceVersion: "v1.26.0",
version: "1.26.1",
sourceVersion: "v1.26.1",
sourceBranch: "release/v1.26",
dockerVersion: "1.26.0",
displayVersion: "1.26.0",
dockerVersion: "1.26.1",
displayVersion: "1.26.1",
},
"1.25": {
goVersion: "1.25",
@@ -413,7 +413,7 @@ const config = {
position: "right",
items: [
{ to: "/api/next/", label: "1.27-dev" },
{ to: "/api/1.26/", label: "1.26.0" },
{ to: "/api/1.26/", label: "1.26.1" },
{ to: "/api/1.25/", label: "1.25.5" },
{ to: "/api/1.24/", label: "1.24.7" },
{ to: "/api/1.23/", label: "1.23.8" },

View File

@@ -17,7 +17,7 @@
"name": "MIT",
"url": "http://opensource.org/licenses/MIT"
},
"version": "1.26.0"
"version": "1.26.1"
},
"basePath": "https://gitea.com/api/v1",
"paths": {

View File

@@ -25,7 +25,7 @@ inplace_sed 's|"version": "{{.SwaggerAppVer}}"|"version": "dev"|' v1_json.tmpl
inplace_sed 's|"basePath": "{{.SwaggerAppSubUrl}}/api/v1"|"basePath": "https://gitea.com/api/v1"|' v1_json.tmpl
mv v1_json.tmpl static/swagger-latest.json
for ver in '1.26.0' '1.25.5' '1.24.7' '1.23.8' '1.22.6'; do
for ver in '1.26.1' '1.25.5' '1.24.7' '1.23.8' '1.22.6'; do
curl --silent --output v1_json.tmpl https://raw.githubusercontent.com/go-gitea/gitea/refs/tags/v${ver}/templates/swagger/v1_json.tmpl
inplace_sed "s|\"version\": \"{{.SwaggerAppVer}}\"|\"version\": \"${ver}\"|" v1_json.tmpl
inplace_sed 's|"basePath": "{{.SwaggerAppSubUrl}}/api/v1"|"basePath": "https://gitea.com/api/v1"|' v1_json.tmpl