From d120ef5301b644148dd6537592f226566672c9b1 Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Wed, 2 Jan 2019 12:55:44 -0800 Subject: [PATCH] Re-enable condition and dependsOn --- azure-pipelines.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 11ceefbb..6101c802 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -68,11 +68,11 @@ jobs: displayName: 'Lint' - job: Release - # dependsOn: - # - Linux - # - macOS - # - Windows - #condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master')) + dependsOn: + - Linux + - macOS + - Windows + condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master')) pool: vmImage: 'ubuntu-16.04' steps: @@ -88,6 +88,5 @@ jobs: yarn displayName: 'Install dependencies and build' - script: | - echo $(NPM_AUTH_TOKEN) NPM_AUTH_TOKEN="$(NPM_AUTH_TOKEN)" node ./bin/publish.js displayName: 'Publish to npm'