From a7e2060a6aa86e0a365541676ee0729d6bc7261d Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Tue, 28 Jul 2026 17:27:12 +0000 Subject: [PATCH] 1.27.1 (#476) 1.27.1 (gitea/docs#476) Co-authored-by: Lunny Xiao --- docusaurus.config.js | 10 +++++----- static/swagger-27.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 5d20e0c7..d4fffb71 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -86,11 +86,11 @@ const globalVariables = { goVersion: "1.26", minGoVersion: "1.26", minNodeVersion: "24", - version: "1.27.0", - sourceVersion: "v1.27.0", + version: "1.27.1", + sourceVersion: "v1.27.1", sourceBranch: "release/v1.27", - dockerVersion: "1.27.0", - displayVersion: "1.27.0", + dockerVersion: "1.27.1", + displayVersion: "1.27.1", }, "1.26": { goVersion: "1.26", @@ -434,7 +434,7 @@ const config = { position: "right", items: [ { to: "/api/next/", label: "1.28-dev" }, - { to: "/api/1.27/", label: "1.27.0" }, + { to: "/api/1.27/", label: "1.27.1" }, { to: "/api/1.26/", label: "1.26.4" }, { to: "/api/1.25/", label: "1.25.5" }, { to: "/api/1.24/", label: "1.24.7" }, diff --git a/static/swagger-27.json b/static/swagger-27.json index 36b7d83c..e771b1cd 100644 --- a/static/swagger-27.json +++ b/static/swagger-27.json @@ -17,7 +17,7 @@ "name": "MIT", "url": "http://opensource.org/licenses/MIT" }, - "version": "1.27.0" + "version": "1.27.1" }, "basePath": "https://gitea.com/api/v1", "paths": { diff --git a/update_api_docs.sh b/update_api_docs.sh index 60e70c1a..1f11651d 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.27.0' '1.26.4' '1.25.5' '1.24.7' '1.23.8' '1.22.6'; do +for ver in '1.27.1' '1.26.4' '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