-
Notifications
You must be signed in to change notification settings - Fork 42
/
azure-pipelines.yml
78 lines (71 loc) · 3.05 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
77
78
trigger:
- release/*
stages:
- stage: Build
jobs:
- template: azure-pipelines-template.yml
parameters:
arch: "x64"
- template: azure-pipelines-template.yml
parameters:
arch: "x86"
- stage: Publish
jobs:
- job: RetrieveAndPublish
pool:
vmImage: 'windows-2019'
steps:
- checkout: self
clean: false
submodules: true
- task: DownloadBuildArtifacts@0
inputs:
buildType: 'current'
downloadType: 'single'
artifactName: 'dfir-orc_x86'
downloadPath: '$(Build.ArtifactStagingDirectory)'
- task: DownloadBuildArtifacts@0
inputs:
buildType: 'current'
downloadType: 'single'
artifactName: 'dfir-orc_x64'
downloadPath: '$(Build.ArtifactStagingDirectory)'
- task: GitHubRelease@1
inputs:
gitHubConnection: 'github.com_dfir-orc'
repositoryName: '$(Build.Repository.Name)'
action: 'create'
target: '$(Build.SourceVersion)'
tagSource: 'gitTag'
tagPattern: '^v?[0-9]+\.[0-9]+\.[0-9]+-(alpha|beta|rc)[0-9]+'
isPreRelease: true
assets: |
$(Build.ArtifactStagingDirectory)/dfir-orc_x64/MinSizeRel/DFIR-Orc_x64.exe
$(Build.ArtifactStagingDirectory)/dfir-orc_x64/MinSizeRel/DFIR-Orc_x64.pdb
$(Build.ArtifactStagingDirectory)/dfir-orc_x64/MinSizeRel/FastFind_x64.exe
$(Build.ArtifactStagingDirectory)/dfir-orc_x64/MinSizeRel/FastFind_x64.pdb
$(Build.ArtifactStagingDirectory)/dfir-orc_x86/MinSizeRel/DFIR-Orc_x86.exe
$(Build.ArtifactStagingDirectory)/dfir-orc_x86/MinSizeRel/DFIR-Orc_x86.pdb
$(Build.ArtifactStagingDirectory)/dfir-orc_x86/MinSizeRel/FastFind_x86.exe
$(Build.ArtifactStagingDirectory)/dfir-orc_x86/MinSizeRel/FastFind_x86.pdb
changeLogCompareToRelease: 'lastFullRelease'
changeLogType: 'commitBased'
- task: GitHubRelease@1
inputs:
gitHubConnection: 'github.com_dfir-orc'
repositoryName: '$(Build.Repository.Name)'
action: 'create'
target: '$(Build.SourceVersion)'
tagSource: 'gitTag'
tagPattern: '^v?[0-9]+\.[0-9]+\.[0-9]+$'
assets: |
$(Build.ArtifactStagingDirectory)/dfir-orc_x64/MinSizeRel/DFIR-Orc_x64.exe
$(Build.ArtifactStagingDirectory)/dfir-orc_x64/MinSizeRel/DFIR-Orc_x64.pdb
$(Build.ArtifactStagingDirectory)/dfir-orc_x64/MinSizeRel/FastFind_x64.exe
$(Build.ArtifactStagingDirectory)/dfir-orc_x64/MinSizeRel/FastFind_x64.pdb
$(Build.ArtifactStagingDirectory)/dfir-orc_x86/MinSizeRel/DFIR-Orc_x86.exe
$(Build.ArtifactStagingDirectory)/dfir-orc_x86/MinSizeRel/DFIR-Orc_x86.pdb
$(Build.ArtifactStagingDirectory)/dfir-orc_x86/MinSizeRel/FastFind_x86.exe
$(Build.ArtifactStagingDirectory)/dfir-orc_x86/MinSizeRel/FastFind_x86.pdb
changeLogCompareToRelease: 'lastFullRelease'
changeLogType: 'commitBased'