Skip to content

Commit

Permalink
chore: disable automated canary during 2.x prerelease (#737)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesHenry committed Jul 21, 2019
1 parent 590ca50 commit ef99f71
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions azure-pipelines.yml
Expand Up @@ -77,28 +77,28 @@ jobs:
yarn test
displayName: 'Run unit tests'
- job: publish_canary_version
displayName: Publish the latest code as a canary version
dependsOn:
- primary_code_validation_and_tests
- unit_tests_on_other_node_versions
condition: and(succeeded(), eq(variables['Build.SourceBranchName'], 'master'), ne(variables['Build.Reason'], 'PullRequest'))
pool:
vmImage: 'Ubuntu-16.04'
steps:
- task: NodeTool@0
inputs:
versionSpec: 11
displayName: 'Install Node.js 11'

- script: |
# This also runs a build as part of the postinstall
# bootstrap
yarn --ignore-engines --frozen-lockfile
- script: |
npm config set //registry.npmjs.org/:_authToken=$(NPM_TOKEN)
- script: |
npx lerna publish --canary --exact --force-publish --yes
displayName: 'Publish all packages to npm'
# - job: publish_canary_version
# displayName: Publish the latest code as a canary version
# dependsOn:
# - primary_code_validation_and_tests
# - unit_tests_on_other_node_versions
# condition: and(succeeded(), eq(variables['Build.SourceBranchName'], 'master'), ne(variables['Build.Reason'], 'PullRequest'))
# pool:
# vmImage: 'Ubuntu-16.04'
# steps:
# - task: NodeTool@0
# inputs:
# versionSpec: 11
# displayName: 'Install Node.js 11'

# - script: |
# # This also runs a build as part of the postinstall
# # bootstrap
# yarn --ignore-engines --frozen-lockfile

# - script: |
# npm config set //registry.npmjs.org/:_authToken=$(NPM_TOKEN)

# - script: |
# npx lerna publish --canary --exact --force-publish --yes
# displayName: 'Publish all packages to npm'

0 comments on commit ef99f71

Please sign in to comment.