mirror of
https://gitea.com/gitea/docs.git
synced 2026-07-02 17:08:48 +00:00
upgrade to gitea 1.23.6
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.23.5' '1.22.6' '1.21.11' '1.20.6' '1.19.4'; do
|
for ver in '1.23.6' '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
|
||||||
|
|||||||
@@ -80,11 +80,11 @@ const globalVariables = {
|
|||||||
'goVersion': '1.23',
|
'goVersion': '1.23',
|
||||||
'minGoVersion': '1.22',
|
'minGoVersion': '1.22',
|
||||||
'minNodeVersion': '18',
|
'minNodeVersion': '18',
|
||||||
'version': '1.23.5',
|
'version': '1.23.6',
|
||||||
'sourceVersion': 'v1.23.0',
|
'sourceVersion': 'v1.23.0',
|
||||||
'sourceBranch': 'release/v1.23',
|
'sourceBranch': 'release/v1.23',
|
||||||
'dockerVersion': '1.23.5',
|
'dockerVersion': '1.23.6',
|
||||||
'displayVersion': '1.23.5'
|
'displayVersion': '1.23.6'
|
||||||
},
|
},
|
||||||
'1.22': {
|
'1.22': {
|
||||||
'goVersion': '1.22',
|
'goVersion': '1.22',
|
||||||
@@ -368,7 +368,7 @@ const config = {
|
|||||||
position: 'right',
|
position: 'right',
|
||||||
items: [
|
items: [
|
||||||
{to: '/api/next/', label: '1.24-dev' },
|
{to: '/api/next/', label: '1.24-dev' },
|
||||||
{to: '/api/1.23/', label: '1.23.5' },
|
{to: '/api/1.23/', label: '1.23.6' },
|
||||||
{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' },
|
||||||
{to: '/api/1.20/', label: '1.20.6' },
|
{to: '/api/1.20/', label: '1.20.6' },
|
||||||
|
|||||||
6
package-lock.json
generated
6
package-lock.json
generated
@@ -7017,7 +7017,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"call-bind": "^1.0.8",
|
"call-bind": "^1.0.8",
|
||||||
"define-properties": "^1.2.1",
|
"define-properties": "^1.2.1",
|
||||||
"es-abstract": "^1.23.5",
|
"es-abstract": "^1.23.6",
|
||||||
"es-shim-unscopables": "^1.0.2"
|
"es-shim-unscopables": "^1.0.2"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -7037,7 +7037,7 @@
|
|||||||
"array-buffer-byte-length": "^1.0.1",
|
"array-buffer-byte-length": "^1.0.1",
|
||||||
"call-bind": "^1.0.8",
|
"call-bind": "^1.0.8",
|
||||||
"define-properties": "^1.2.1",
|
"define-properties": "^1.2.1",
|
||||||
"es-abstract": "^1.23.5",
|
"es-abstract": "^1.23.6",
|
||||||
"es-errors": "^1.3.0",
|
"es-errors": "^1.3.0",
|
||||||
"get-intrinsic": "^1.2.6",
|
"get-intrinsic": "^1.2.6",
|
||||||
"is-array-buffer": "^3.0.4"
|
"is-array-buffer": "^3.0.4"
|
||||||
@@ -19585,7 +19585,7 @@
|
|||||||
"call-bound": "^1.0.2",
|
"call-bound": "^1.0.2",
|
||||||
"define-data-property": "^1.1.4",
|
"define-data-property": "^1.1.4",
|
||||||
"define-properties": "^1.2.1",
|
"define-properties": "^1.2.1",
|
||||||
"es-abstract": "^1.23.5",
|
"es-abstract": "^1.23.6",
|
||||||
"es-object-atoms": "^1.0.0",
|
"es-object-atoms": "^1.0.0",
|
||||||
"has-property-descriptors": "^1.0.2"
|
"has-property-descriptors": "^1.0.2"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user