-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
55 lines (46 loc) · 1.26 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
name: 1.0$(Rev:.r)
trigger:
- main
pool:
vmImage: 'windows-2022'
variables:
vsix: '$(Build.ArtifactStagingDirectory)/vsix/agent-screenshot-$(Build.BuildNumber).vsix'
steps:
- task: replacetokens@6
inputs:
sources: '**/*.json'
encoding: 'utf-8'
addBOM: false
- task: TfxInstaller@5
inputs:
version: 'v0.x'
- task: PackageAzureDevOpsExtension@5
inputs:
rootFolder: '$(Build.SourcesDirectory)'
outputPath: '$(vsix)'
extensionVersion: '$(Build.BuildNumber)'
updateTasksVersion: true
extensionVisibility: 'public_preview'
- task: PublishAzureDevOpsExtension@5
inputs:
connectTo: 'AzureRM'
connectedServiceNameAzureRM: azure-devops-marketplace
fileType: 'vsix'
vsixFile: '$(vsix)'
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'