-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
azure-pipelines.yml
76 lines (63 loc) · 1.78 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
70
71
72
73
74
75
76
name: 1.1$(Rev:.r)
trigger:
- main
pool: "Azure DevOps Server 2022"
variables:
solution: '**/*.sln'
buildPlatform: 'Any CPU'
buildConfiguration: 'Release'
vsix: '$(Build.ArtifactStagingDirectory)/vsix/gate-condition-editor-$(Build.BuildNumber).vsix'
steps:
- task: NuGetToolInstaller@1
- task: NuGetCommand@2
inputs:
restoreSolution: '$(solution)'
- task: VSBuild@1
inputs:
solution: '$(solution)'
platform: '$(buildPlatform)'
configuration: '$(buildConfiguration)'
- task: CopyFiles@2.211.0
inputs:
SourceFolder: '$(Build.SourcesDirectory)/ServerTaskExpressionTester/bin/$(buildConfiguration)'
Contents: |
*.pdb
*.exe
TargetFolder: '$(Build.ArtifactStagingDirectory)'
- task: NodeTool@0.213.0
inputs:
versionSpec: '10.x'
checkLatest: true
- task: TfxInstaller@5
inputs:
version: 'v0.x'
- task: PackageAzureDevOpsExtension@5
inputs:
rootFolder: '$(Build.SourcesDirectory)'
outputPath: '$(vsix)'
extensionVersion: '$(Build.BuildNumber)'
updateTasksVersion: false
- task: PublishAzureDevOpsExtension@5
inputs:
connectTo: 'AzureRM'
connectedServiceNameAzureRM: azure-devops-marketplace
fileType: 'vsix'
vsixFile: '$(vsix)'
updateTasksVersion: false
noWaitValidation: true
- task: PublishPipelineArtifact@1
inputs:
targetPath: '$(Build.ArtifactStagingDirectory)'
artifact: 'Output'
- task: GitHubRelease@1
inputs:
gitHubConnection: 'GitHub - jessehouwing'
repositoryName: '$(Build.Repository.Name)'
action: 'create'
target: '$(Build.SourceVersion)'
tagSource: 'userSpecifiedTag'
tag: '$(Build.BuildNumber)'
title: '$(Build.BuildNumber)'
releaseNotesSource: 'inline'
changeLogCompareToRelease: 'lastFullRelease'
changeLogType: 'commitBased'