diff --git a/hack/gen-swagger-doc/deploy.sh b/hack/gen-swagger-doc/deploy.sh index 20a2a9a66d1a..288314ddd3e4 100755 --- a/hack/gen-swagger-doc/deploy.sh +++ b/hack/gen-swagger-doc/deploy.sh @@ -33,7 +33,7 @@ Content of this repository is generated from OpenAPI specification of * [master](${GITHUB_IO_FQDN}/master/index.html) __EOF__ find * -type d -regex "^v[0-9.]*" \ - -exec echo "* [{}](${GITHUB_IO_FQDN}/{}/index.html)" \; >>README.md + -exec echo "* [{}](${GITHUB_IO_FQDN}/{}/index.html)" \; | sort -r --version-sort -t '[' --key 2 >>README.md git config --global user.email "travis@travis-ci.org" git config --global user.name "Travis CI"