This repository has been archived by the owner on Dec 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
70 lines (61 loc) · 1.58 KB
/
azure-pipelines.yml
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
name: AzureADApplication-v2.$(date:yy)$(DayOfYear).$(rev:r)-$(Build.SourceBranchName)
trigger:
- master
- issue*
pr:
- master
pool:
vmImage: macOS-latest
demands: npm
workspace:
clean: all
steps:
- task: VersionExtractor@4
name: versionExtractor
displayName: 'Version extractor digit'
inputs:
stringToAnalyze: '$(build.buildNumber)'
- task: TfxInstaller@2
displayName: 'Use Node CLI for Azure DevOps (tfx-cli): v0.6.x'
- task: Npm@1
displayName: 'Install TypeScript'
inputs:
command: custom
verbose: false
customCommand: 'install -g typescript'
- task: Npm@1
displayName: 'Publish GetAzureAdApplicationId'
inputs:
command: custom
workingDir: GetAzureAdApplicationId
verbose: false
customCommand: 'run publishExt'
- task: Npm@1
displayName: 'Publish ManageAzureAdApplication'
inputs:
command: custom
workingDir: ManageAzureAdApplication
verbose: false
customCommand: 'run publishExt'
- task: Npm@1
displayName: 'Publish RemoveAzureAdApplication'
inputs:
command: custom
workingDir: RemoveAzureAdApplication
verbose: false
customCommand: 'run publishExt'
- task: PackageAzureDevOpsExtension@2
displayName: 'Package Extension: '
inputs:
extensionVersion: '$(versionExtractor.fullVersion)'
updateTasksVersion: true
- task: CopyFiles@2
displayName: 'Copy Files *.vsix'
inputs:
SourceFolder: '$(Build.SourcesDirectory)'
Contents: |
*.vsix
CurrentReleaseNotes.md
TargetFolder: '$(Build.ArtifactStagingDirectory)'
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: drop'