|
@@ -34,7 +34,7 @@ jobs:
|
|
displayName: 'Build unstable typescript axios client'
|
|
displayName: 'Build unstable typescript axios client'
|
|
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/master')
|
|
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/master')
|
|
inputs:
|
|
inputs:
|
|
- script: 'bash ./apiclient/templates/typescript/axios/unstable.sh'
|
|
|
|
|
|
+ script: "bash ./apiclient/templates/typescript/axios/generate.sh $(System.ArtifactsDirectory) $(Build.BuildNumber)"
|
|
|
|
|
|
- task: Npm@1
|
|
- task: Npm@1
|
|
displayName: 'Publish unstable typescript axios client'
|
|
displayName: 'Publish unstable typescript axios client'
|
|
@@ -50,7 +50,7 @@ jobs:
|
|
displayName: 'Build stable typescript axios client'
|
|
displayName: 'Build stable typescript axios client'
|
|
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/v')
|
|
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/v')
|
|
inputs:
|
|
inputs:
|
|
- script: 'bash ./apiclient/templates/typescript/axios/stable.sh'
|
|
|
|
|
|
+ script: "bash ./apiclient/templates/typescript/axios/generate.sh $(System.ArtifactsDirectory)"
|
|
|
|
|
|
- task: Npm@1
|
|
- task: Npm@1
|
|
displayName: 'Publish stable typescript axios client'
|
|
displayName: 'Publish stable typescript axios client'
|