mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +03:00
Merge pull request #79 from atom-ide-community/CI-GetReleaseVersion-template
This commit is contained in:
commit
022ae82db1
@ -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
|
||||
|
19
script/vsts/platforms/templates/get-release-version.yml
Normal file
19
script/vsts/platforms/templates/get-release-version.yml
Normal 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
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user