diff options
| author | crobibero <cody@robibe.ro> | 2020-09-06 08:26:36 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-09-06 08:26:36 -0600 |
| commit | 6ffffa95a7cfa092bc4dd1b75e25f1010d0d8855 (patch) | |
| tree | b1567fb702bdf1849d90078c9ab466d4c15c5cc5 | |
| parent | 320e3b98ab50e83932156b1a8ce7fc25685f7252 (diff) | |
Use jar directly
| -rw-r--r-- | .ci/azure-pipelines.yml | 3 | ||||
| -rw-r--r-- | apiclient/templates/typescript/stable.sh | 2 | ||||
| -rw-r--r-- | apiclient/templates/typescript/unstable.sh | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/.ci/azure-pipelines.yml b/.ci/azure-pipelines.yml index b417aae67..f3e515447 100644 --- a/.ci/azure-pipelines.yml +++ b/.ci/azure-pipelines.yml @@ -55,3 +55,6 @@ jobs: - ${{ if or(startsWith(variables['Build.SourceBranch'], 'refs/tags/v'), startsWith(variables['Build.SourceBranch'], 'refs/heads/master')) }}: - template: azure-pipelines-package.yml + +- ${{ if or(startsWith(variables['Build.SourceBranch'], 'refs/tags/v'), startsWith(variables['Build.SourceBranch'], 'refs/heads/master')) }}: + - template: azure-pipelines-api-client.yml diff --git a/apiclient/templates/typescript/stable.sh b/apiclient/templates/typescript/stable.sh index 46af6433f..f23a85cc9 100644 --- a/apiclient/templates/typescript/stable.sh +++ b/apiclient/templates/typescript/stable.sh @@ -1,7 +1,7 @@ #!/bin/bash CLIENT=$1 -openapi-generator generate \ +java -jar openapi-generator-cli.jar generate \ --input-spec $(System.ArtifactsDirectory)/openapi/openapi.json \ --generator-name typescript-${CLIENT} \ --output ./apiclient/generated/typescript/${CLIENT} \ diff --git a/apiclient/templates/typescript/unstable.sh b/apiclient/templates/typescript/unstable.sh index 255e20c4f..3571c8ad5 100644 --- a/apiclient/templates/typescript/unstable.sh +++ b/apiclient/templates/typescript/unstable.sh @@ -1,7 +1,7 @@ #!/bin/bash CLIENT=$1 -openapi-generator generate \ +java -jar openapi-generator-cli.jar generate \ --input-spec $(System.ArtifactsDirectory)/openapi/openapi.json \ --generator-name typescript-${CLIENT} \ --output ./apiclient/generated/typescript/${CLIENT} \ |
