From c677b5da29859e90a0eba545653633722bebda23 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sun, 21 Jun 2026 07:50:31 +0000 Subject: [PATCH] update 1.26.3 (#442) Reviewed-on: https://gitea.com/gitea/docs/pulls/442 Reviewed-by: Nicolas Co-authored-by: Lunny Xiao Co-committed-by: Lunny Xiao --- docusaurus.config.js | 10 +++++----- static/swagger-26.json | 2 +- update_api_docs.sh | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index ea4589a1..8d63556b 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -82,11 +82,11 @@ const globalVariables = { goVersion: "1.26", minGoVersion: "1.26", minNodeVersion: "22", - version: "1.26.2", - sourceVersion: "v1.26.2", + version: "1.26.3", + sourceVersion: "v1.26.3", sourceBranch: "release/v1.26", - dockerVersion: "1.26.2", - displayVersion: "1.26.2", + dockerVersion: "1.26.3", + displayVersion: "1.26.3", }, "1.25": { goVersion: "1.25", @@ -417,7 +417,7 @@ const config = { position: "right", items: [ { to: "/api/next/", label: "1.27-dev" }, - { to: "/api/1.26/", label: "1.26.2" }, + { to: "/api/1.26/", label: "1.26.3" }, { to: "/api/1.25/", label: "1.25.5" }, { to: "/api/1.24/", label: "1.24.7" }, { to: "/api/1.23/", label: "1.23.8" }, diff --git a/static/swagger-26.json b/static/swagger-26.json index 07db9d99..b77059f7 100644 --- a/static/swagger-26.json +++ b/static/swagger-26.json @@ -17,7 +17,7 @@ "name": "MIT", "url": "http://opensource.org/licenses/MIT" }, - "version": "1.26.2" + "version": "1.26.3" }, "basePath": "https://gitea.com/api/v1", "paths": { diff --git a/update_api_docs.sh b/update_api_docs.sh index a5ddc850..b0f3690e 100755 --- a/update_api_docs.sh +++ b/update_api_docs.sh @@ -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.2' '1.25.5' '1.24.7' '1.23.8' '1.22.6'; do +for ver in '1.26.3' '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