From cea3a053b706e7cc5e621feffbe24e05967ddbb4 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Wed, 5 Feb 2025 21:50:46 +0000 Subject: [PATCH] upgrade to 1.23.2 (#166) Reviewed-on: https://gitea.com/gitea/docs/pulls/166 Reviewed-by: techknowlogick Co-authored-by: Lunny Xiao Co-committed-by: Lunny Xiao --- .gitea/workflows/update_swagger.yaml | 2 +- docusaurus.config.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/update_swagger.yaml b/.gitea/workflows/update_swagger.yaml index 1bdef584..07bc3059 100644 --- a/.gitea/workflows/update_swagger.yaml +++ b/.gitea/workflows/update_swagger.yaml @@ -16,7 +16,7 @@ jobs: sed -i "$@" 's\"basePath": "{{AppSubUrl | JSEscape}}/api/v1"\"basePath": "https://gitea.com/api/v1"\' v1_json.tmpl mv v1_json.tmpl static/swagger-latest.json - for ver in '1.23.1' '1.22.6' '1.21.11' '1.20.6' '1.19.4'; do + for ver in '1.23.2' '1.22.6' '1.21.11' '1.20.6' '1.19.4'; do wget https://raw.githubusercontent.com/go-gitea/gitea/refs/tags/v${ver}/templates/swagger/v1_json.tmpl sed -i "$@" "s|\"version\": \"{{AppVer \| JSEscape}}\"|\"version\": \"${ver}\"|" v1_json.tmpl sed -i "$@" 's\"basePath": "{{AppSubUrl | JSEscape}}/api/v1"\"basePath": "https://gitea.com/api/v1"\' v1_json.tmpl diff --git a/docusaurus.config.js b/docusaurus.config.js index 42a04bc1..30299a6c 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -80,11 +80,11 @@ const globalVariables = { 'goVersion': '1.23', 'minGoVersion': '1.22', 'minNodeVersion': '18', - 'version': '1.23.1', + 'version': '1.23.2', 'sourceVersion': 'v1.23.0', 'sourceBranch': 'release/v1.23', - 'dockerVersion': '1.23.1', - 'displayVersion': '1.23.1' + 'dockerVersion': '1.23.2', + 'displayVersion': '1.23.2' }, '1.22': { 'goVersion': '1.22', @@ -368,7 +368,7 @@ const config = { position: 'right', items: [ {to: '/api/next/', label: '1.24-dev' }, - {to: '/api/1.23/', label: '1.23.1' }, + {to: '/api/1.23/', label: '1.23.2' }, {to: '/api/1.22/', label: '1.22.6' }, {to: '/api/1.21/', label: '1.21.11' }, {to: '/api/1.20/', label: '1.20.6' },