/ script / vsts / pull-requests.yml
pull-requests.yml
 1  trigger: none # No CI builds, only PR builds
 2  
 3  jobs:
 4    - job: GetReleaseVersion
 5      steps:
 6        # This has to be done separately because VSTS inexplicably
 7        # exits the script block after `npm install` completes.
 8        - script: |
 9            cd script\vsts
10            npm install
11          displayName: npm install
12        - script: node script\vsts\get-release-version.js
13          name: Version
14  
15    # Import OS-specific build definitions
16    - template: platforms/windows.yml
17    - template: platforms/macos.yml
18    - template: platforms/linux.yml