mirror of
https://gitea.com/gitea/docs.git
synced 2026-07-21 18:27:41 +00:00
update 1.26.4 (#443)
Reviewed-on: https://gitea.com/gitea/docs/pulls/443 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Nicolas <bircni@icloud.com> Co-committed-by: Nicolas <bircni@icloud.com>
This commit is contained in:
@@ -82,11 +82,11 @@ const globalVariables = {
|
|||||||
goVersion: "1.26",
|
goVersion: "1.26",
|
||||||
minGoVersion: "1.26",
|
minGoVersion: "1.26",
|
||||||
minNodeVersion: "22",
|
minNodeVersion: "22",
|
||||||
version: "1.26.3",
|
version: "1.26.4",
|
||||||
sourceVersion: "v1.26.3",
|
sourceVersion: "v1.26.4",
|
||||||
sourceBranch: "release/v1.26",
|
sourceBranch: "release/v1.26",
|
||||||
dockerVersion: "1.26.3",
|
dockerVersion: "1.26.4",
|
||||||
displayVersion: "1.26.3",
|
displayVersion: "1.26.4",
|
||||||
},
|
},
|
||||||
"1.25": {
|
"1.25": {
|
||||||
goVersion: "1.25",
|
goVersion: "1.25",
|
||||||
@@ -417,7 +417,7 @@ const config = {
|
|||||||
position: "right",
|
position: "right",
|
||||||
items: [
|
items: [
|
||||||
{ to: "/api/next/", label: "1.27-dev" },
|
{ to: "/api/next/", label: "1.27-dev" },
|
||||||
{ to: "/api/1.26/", label: "1.26.3" },
|
{ to: "/api/1.26/", label: "1.26.4" },
|
||||||
{ to: "/api/1.25/", label: "1.25.5" },
|
{ to: "/api/1.25/", label: "1.25.5" },
|
||||||
{ 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" },
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
"name": "MIT",
|
"name": "MIT",
|
||||||
"url": "http://opensource.org/licenses/MIT"
|
"url": "http://opensource.org/licenses/MIT"
|
||||||
},
|
},
|
||||||
"version": "1.26.3"
|
"version": "1.26.4"
|
||||||
},
|
},
|
||||||
"basePath": "https://gitea.com/api/v1",
|
"basePath": "https://gitea.com/api/v1",
|
||||||
"paths": {
|
"paths": {
|
||||||
@@ -26771,10 +26771,14 @@
|
|||||||
"description": "MergePullRequestForm form for merging Pull Request",
|
"description": "MergePullRequestForm form for merging Pull Request",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": [
|
"required": [
|
||||||
"Do"
|
"do"
|
||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"Do": {
|
"delete_branch_after_merge": {
|
||||||
|
"type": "boolean",
|
||||||
|
"x-go-name": "DeleteBranchAfterMerge"
|
||||||
|
},
|
||||||
|
"do": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": [
|
"enum": [
|
||||||
"merge",
|
"merge",
|
||||||
@@ -26783,20 +26787,8 @@
|
|||||||
"squash",
|
"squash",
|
||||||
"fast-forward-only",
|
"fast-forward-only",
|
||||||
"manually-merged"
|
"manually-merged"
|
||||||
]
|
],
|
||||||
},
|
"x-go-name": "Do"
|
||||||
"MergeCommitID": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"MergeMessageField": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"MergeTitleField": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"delete_branch_after_merge": {
|
|
||||||
"type": "boolean",
|
|
||||||
"x-go-name": "DeleteBranchAfterMerge"
|
|
||||||
},
|
},
|
||||||
"force_merge": {
|
"force_merge": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@@ -26806,6 +26798,18 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"x-go-name": "HeadCommitID"
|
"x-go-name": "HeadCommitID"
|
||||||
},
|
},
|
||||||
|
"merge_commit_id": {
|
||||||
|
"type": "string",
|
||||||
|
"x-go-name": "MergeCommitID"
|
||||||
|
},
|
||||||
|
"merge_message_field": {
|
||||||
|
"type": "string",
|
||||||
|
"x-go-name": "MergeMessageField"
|
||||||
|
},
|
||||||
|
"merge_title_field": {
|
||||||
|
"type": "string",
|
||||||
|
"x-go-name": "MergeTitleField"
|
||||||
|
},
|
||||||
"merge_when_checks_succeed": {
|
"merge_when_checks_succeed": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"x-go-name": "MergeWhenChecksSucceed"
|
"x-go-name": "MergeWhenChecksSucceed"
|
||||||
|
|||||||
@@ -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.26.3' '1.25.5' '1.24.7' '1.23.8' '1.22.6'; do
|
for ver in '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
|
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