-
Notifications
You must be signed in to change notification settings - Fork 51
Expand file tree
/
Copy pathstaging-release-pipelines.yml
More file actions
46 lines (38 loc) · 1.39 KB
/
staging-release-pipelines.yml
File metadata and controls
46 lines (38 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
extends:
template: /azure-pipelines/1es-redirect.yml
parameters:
stages:
- stage: Build
displayName: Staging Release
variables:
- template: /azure-pipelines/image.yml
- name: NODE_OPTIONS
value: --max-old-space-size=8192
jobs:
- job: 'Staging_Release_Build'
displayName: Staging Release Build
pool:
name: $(LINUXNEXTPOOL)
image: $(LINUXNEXTVMIMAGE)
os: linux
steps:
- template: common-build.yml
- script: 'node eng/scripts/prerelease.mjs'
displayName: 'bump dev release version'
- script: 'node common/scripts/install-run-rush.js pack'
displayName: 'rush pack'
- task: CopyFiles@2
displayName: 'Copy Files to: dist'
inputs:
Contents: |
packages/**/*.tgz
!packages/**/node_modules/**/*.tgz
TargetFolder: '$(Build.SourcesDirectory)/dist'
- template: /azure-pipelines/publish-1es-artifact.yml
parameters:
ArtifactName: drop
ArtifactPath: $(Build.SourcesDirectory)/dist
- ${{ if and(in(variables['Build.Reason'], 'Manual', ''), eq(variables['System.TeamProject'], 'internal'))}}:
- template: /azure-pipelines/release-stage.yml
parameters:
Version: beta