aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/openapi-clients.sh3
-rwxr-xr-xscripts/release.sh2
2 files changed, 2 insertions, 3 deletions
diff --git a/scripts/openapi-clients.sh b/scripts/openapi-clients.sh
index c799658e3..1047e1477 100755
--- a/scripts/openapi-clients.sh
+++ b/scripts/openapi-clients.sh
@@ -59,11 +59,12 @@ for lang in ${API_LANGS//:/ } ; do
59 git clone "https://${host_path}" "$out_dir" 59 git clone "https://${host_path}" "$out_dir"
60 fi 60 fi
61 61
62 npx openapi-generator generate \ 62 npx @openapitools/openapi-generator-cli generate \
63 -i support/doc/api/openapi.yaml \ 63 -i support/doc/api/openapi.yaml \
64 -c "${lang_dir}/def.yaml" \ 64 -c "${lang_dir}/def.yaml" \
65 -t "${lang_dir}" \ 65 -t "${lang_dir}" \
66 -g "$lang" \ 66 -g "$lang" \
67 --skip-validate-spec
67 --git-host "${API_REPO_HOST}" \ 68 --git-host "${API_REPO_HOST}" \
68 --git-user-id "${API_URL_USERNAME}" \ 69 --git-user-id "${API_URL_USERNAME}" \
69 --git-repo-id "${git_repo_id}" \ 70 --git-repo-id "${git_repo_id}" \
diff --git a/scripts/release.sh b/scripts/release.sh
index 195f19b45..6423d17ee 100755
--- a/scripts/release.sh
+++ b/scripts/release.sh
@@ -60,8 +60,6 @@ fi
60 60
61npm version -f --no-git-tag-version --no-commit-hooks "$1" 61npm version -f --no-git-tag-version --no-commit-hooks "$1"
62 62
63./scripts/openapi-peertube-version.sh
64
65git commit package.json client/package.json ./support/doc/api/openapi.yaml -m "Bumped to version $version" 63git commit package.json client/package.json ./support/doc/api/openapi.yaml -m "Bumped to version $version"
66git tag -s -a "$version" -m "$version" 64git tag -s -a "$version" -m "$version"
67 65