diff options
| author | crobibero <cody@robibe.ro> | 2020-11-13 08:02:45 -0700 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-11-13 08:02:45 -0700 |
| commit | 83ac7d267428c74e4fe5161991feb2a6ca089578 (patch) | |
| tree | 404a8e31bc312025c16e816b364900305e05e89e | |
| parent | f45b4ac11fa75056f52e29c7dac17f89b4e43b28 (diff) | |
Fix 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 |
