Merge pull request #79 from atom-ide-community/CI-GetReleaseVersion-template

This commit is contained in:
Amin Yahyaabadi 2020-08-16 22:39:07 -05:00 committed by GitHub
commit 022ae82db1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 27 additions and 27 deletions

View File

@ -1,13 +1,8 @@
jobs:
- job: GetReleaseVersion
pool:
vmImage: 'ubuntu-latest'
steps:
- script: |
cd script/vsts
npm ci
node get-release-version.js --nightly
name: Version
# GetReleaseVersion for nightly release
- template: platforms/templates/get-release-version.yml
parameters:
NightlyFlag: --nightly
# Import OS-specific build definitions
- template: platforms/windows.yml

View File

@ -0,0 +1,19 @@
parameters:
- name: NightlyFlag
type: string
values:
- ' '
- --nightly
default: ' '
jobs:
- job: GetReleaseVersion
pool:
vmImage: 'ubuntu-latest'
steps:
- script: |
cd script/vsts
npm ci
node get-release-version.js ${{ parameters.NightlyFlag }}
name: Version

View File

@ -1,15 +1,8 @@
trigger: none # No CI builds, only PR builds
jobs:
- job: GetReleaseVersion
pool:
vmImage: 'ubuntu-latest'
steps:
- script: |
cd script/vsts
npm ci
node get-release-version.js
name: Version
# GetReleaseVersion
- template: platforms/templates/get-release-version.yml
# Import OS-specific build definitions
- template: platforms/windows.yml

View File

@ -5,15 +5,8 @@ trigger:
pr: none # no PR triggers
jobs:
- job: GetReleaseVersion
pool:
vmImage: 'ubuntu-latest'
steps:
- script: |
cd script/vsts
npm ci
node get-release-version.js
name: Version
# GetReleaseVersion
- template: platforms/templates/get-release-version.yml
# Import OS-specific build definitions.
- template: platforms/windows.yml