From 7cb7bd50e0142870b2e63695bca0c71966215549 Mon Sep 17 00:00:00 2001 From: Matteo Bruni Date: Thu, 28 May 2020 10:20:43 +0200 Subject: [PATCH] Update azure-pipelines-releases.yml for Azure Pipelines --- azure-pipelines-releases.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/azure-pipelines-releases.yml b/azure-pipelines-releases.yml index 97bed26f6b1..130a0f8809e 100644 --- a/azure-pipelines-releases.yml +++ b/azure-pipelines-releases.yml @@ -30,14 +30,14 @@ steps: - task: Npm@1 displayName: npm publish - condition: and(succeeded(), not(contains(variables['Build.SourceBranch'], '-')) + condition: and(succeeded(), not(contains(variables['Build.SourceBranch'], '-'))) inputs: command: 'publish' publishEndpoint: 'npmjs' - task: Npm@1 displayName: npm publish alpha - condition: and(succeeded(), contains(variables['Build.SourceBranch'], '-alpha.') + condition: and(succeeded(), contains(variables['Build.SourceBranch'], '-alpha.')) inputs: command: 'custom' customCommand: 'publish --tag alpha' @@ -45,7 +45,7 @@ steps: - task: Npm@1 displayName: npm publish alpha - condition: and(succeeded(), contains(variables['Build.SourceBranch'], '-beta.') + condition: and(succeeded(), contains(variables['Build.SourceBranch'], '-beta.')) inputs: command: 'custom' customCommand: 'publish --tag alpha' @@ -69,7 +69,6 @@ steps: versioningScheme: 'off' - task: NuGetCommand@2 - condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master')) displayName: 'Nuget Publish' inputs: command: 'push'