mirror of
https://gitea.com/gitea/docs.git
synced 2026-07-22 02:37:42 +00:00
upgrade 1.25.2 -> 1.25.3
This commit is contained in:
@@ -78,11 +78,11 @@ const globalVariables = {
|
|||||||
goVersion: "1.25",
|
goVersion: "1.25",
|
||||||
minGoVersion: "1.25",
|
minGoVersion: "1.25",
|
||||||
minNodeVersion: "22",
|
minNodeVersion: "22",
|
||||||
version: "1.25.2",
|
version: "1.25.3",
|
||||||
sourceVersion: "v1.25.0",
|
sourceVersion: "v1.25.0",
|
||||||
sourceBranch: "release/v1.25",
|
sourceBranch: "release/v1.25",
|
||||||
dockerVersion: "1.25.2",
|
dockerVersion: "1.25.3",
|
||||||
displayVersion: "1.25.2",
|
displayVersion: "1.25.3",
|
||||||
},
|
},
|
||||||
"1.24": {
|
"1.24": {
|
||||||
goVersion: "1.24",
|
goVersion: "1.24",
|
||||||
@@ -396,7 +396,7 @@ const config = {
|
|||||||
position: "right",
|
position: "right",
|
||||||
items: [
|
items: [
|
||||||
{ to: "/api/next/", label: "1.26-dev" },
|
{ to: "/api/next/", label: "1.26-dev" },
|
||||||
{ to: "/api/1.25/", label: "1.25.2" },
|
{ to: "/api/1.25/", label: "1.25.3" },
|
||||||
{ to: "/api/1.24/", label: "1.24.7" },
|
{ to: "/api/1.24/", label: "1.24.7" },
|
||||||
{ to: "/api/1.23/", label: "1.23.8" },
|
{ to: "/api/1.23/", label: "1.23.8" },
|
||||||
{ to: "/api/1.22/", label: "1.22.6" },
|
{ to: "/api/1.22/", label: "1.22.6" },
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
"name": "MIT",
|
"name": "MIT",
|
||||||
"url": "http://opensource.org/licenses/MIT"
|
"url": "http://opensource.org/licenses/MIT"
|
||||||
},
|
},
|
||||||
"version": "1.25.2"
|
"version": "1.25.3"
|
||||||
},
|
},
|
||||||
"basePath": "https://gitea.com/api/v1",
|
"basePath": "https://gitea.com/api/v1",
|
||||||
"paths": {
|
"paths": {
|
||||||
|
|||||||
@@ -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
|
inplace_sed 's|"basePath": "{{.SwaggerAppSubUrl}}/api/v1"|"basePath": "https://gitea.com/api/v1"|' v1_json.tmpl
|
||||||
mv v1_json.tmpl static/swagger-latest.json
|
mv v1_json.tmpl static/swagger-latest.json
|
||||||
|
|
||||||
for ver in '1.25.2' '1.24.7' '1.23.8' '1.22.6'; do
|
for ver in '1.25.3' '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
|
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|\"version\": \"{{.SwaggerAppVer}}\"|\"version\": \"${ver}\"|" v1_json.tmpl
|
||||||
inplace_sed 's|"basePath": "{{.SwaggerAppSubUrl}}/api/v1"|"basePath": "https://gitea.com/api/v1"|' v1_json.tmpl
|
inplace_sed 's|"basePath": "{{.SwaggerAppSubUrl}}/api/v1"|"basePath": "https://gitea.com/api/v1"|' v1_json.tmpl
|
||||||
|
|||||||
Reference in New Issue
Block a user