mirror of
https://gitea.com/gitea/docs.git
synced 2026-06-11 04:31:26 +00:00
release 1.26.0 (#384)
Reviewed-on: https://gitea.com/gitea/docs/pulls/384 Reviewed-by: techknowlogick <9+techknowlogick@noreply.gitea.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
committed by
techknowlogick
parent
9fe613c7de
commit
b5e28002f4
@@ -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
|
||||
mv v1_json.tmpl static/swagger-latest.json
|
||||
|
||||
for ver in '1.26.0-rc0' '1.25.5' '1.24.7' '1.23.8' '1.22.6'; do
|
||||
for ver in '1.26.0' '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
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user