diff options
| author | Bill Thornton <thornbill@users.noreply.github.com> | 2020-11-16 20:16:38 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-16 20:16:38 -0500 |
| commit | be0ddf02b3130ea5b6e4778201f784bcd031b72e (patch) | |
| tree | ccbf95495295fad2d4d37b6c3112812252075f6f | |
| parent | 47bfbb1377baad6544061c04e6f45cf5ec231b9e (diff) | |
| parent | 83ac7d267428c74e4fe5161991feb2a6ca089578 (diff) | |
Merge pull request #4475 from crobibero/npm-ci-remove-v2
Fix api client ci condition
| -rw-r--r-- | .ci/azure-pipelines-api-client.yml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/.ci/azure-pipelines-api-client.yml b/.ci/azure-pipelines-api-client.yml index 03102121f..1c447fd97 100644 --- a/.ci/azure-pipelines-api-client.yml +++ b/.ci/azure-pipelines-api-client.yml @@ -9,6 +9,7 @@ jobs: - job: GenerateApiClients displayName: 'Generate Api Clients' + condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/v') dependsOn: Test pool: @@ -37,7 +38,6 @@ jobs: ## Generate npm api client - task: CmdLine@2 displayName: 'Build stable typescript axios client' - condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/v') inputs: script: "bash ./apiclient/templates/typescript/axios/generate.sh $(System.ArtifactsDirectory)" @@ -51,7 +51,6 @@ jobs: ## Publish npm packages - task: Npm@1 displayName: 'Publish stable typescript axios client' - condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/v') inputs: command: publish publishRegistry: useExternalRegistry |
