Re-enable condition and dependsOn

This commit is contained in:
Daniel Imms
2019-01-02 12:55:44 -08:00
parent 68fbb2f8c9
commit d120ef5301
+5 -6
View File
@@ -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'