mirror of
https://gitea.com/gitea/docs.git
synced 2026-07-09 06:55:18 +00:00
uprade 1.24.7
This commit is contained in:
@@ -16,7 +16,7 @@ jobs:
|
|||||||
sed -i "$@" 's\"basePath": "{{AppSubUrl | JSEscape}}/api/v1"\"basePath": "https://gitea.com/api/v1"\' v1_json.tmpl
|
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
|
mv v1_json.tmpl static/swagger-latest.json
|
||||||
|
|
||||||
for ver in '1.24.6' '1.23.8' '1.22.6' '1.21.11' '1.20.6' '1.19.4'; do
|
for ver in '1.24.7' '1.23.8' '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
|
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|\"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
|
sed -i "$@" 's\"basePath": "{{AppSubUrl | JSEscape}}/api/v1"\"basePath": "https://gitea.com/api/v1"\' v1_json.tmpl
|
||||||
|
|||||||
@@ -86,11 +86,11 @@ const globalVariables = {
|
|||||||
goVersion: "1.24",
|
goVersion: "1.24",
|
||||||
minGoVersion: "1.24",
|
minGoVersion: "1.24",
|
||||||
minNodeVersion: "22",
|
minNodeVersion: "22",
|
||||||
version: "1.24.6",
|
version: "1.24.7",
|
||||||
sourceVersion: "v1.24.0",
|
sourceVersion: "v1.24.0",
|
||||||
sourceBranch: "release/v1.24",
|
sourceBranch: "release/v1.24",
|
||||||
dockerVersion: "1.24.6",
|
dockerVersion: "1.24.7",
|
||||||
displayVersion: "1.24.6",
|
displayVersion: "1.24.7",
|
||||||
},
|
},
|
||||||
1.23: {
|
1.23: {
|
||||||
goVersion: "1.23",
|
goVersion: "1.23",
|
||||||
@@ -428,7 +428,7 @@ const config = {
|
|||||||
position: "right",
|
position: "right",
|
||||||
items: [
|
items: [
|
||||||
{ to: "/api/next/", label: "1.25-dev" },
|
{ to: "/api/next/", label: "1.25-dev" },
|
||||||
{ to: "/api/1.24/", label: "1.24.6" },
|
{ 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" },
|
||||||
{ to: "/api/1.21/", label: "1.21.11" },
|
{ to: "/api/1.21/", label: "1.21.11" },
|
||||||
|
|||||||
Reference in New Issue
Block a user