Skip to content

Commit ebf3605

Browse files
committed
ci: updates the ADO pipeline to match release please configuration
Signed-off-by: Vincent Biret <[email protected]>
1 parent 9bc10b0 commit ebf3605

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

.azure-pipelines/ci-build.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ trigger:
88
- main
99
- dev
1010
- support/v1
11+
tags:
12+
include:
13+
- 'v*'
1114
pr:
1215
branches:
1316
include:
@@ -194,7 +197,7 @@ extends:
194197
content: '*.nupkg'
195198

196199
- stage: deploy
197-
condition: and(or(contains(variables['build.sourceBranch'], 'refs/heads/main'),contains(variables['build.sourceBranch'], 'refs/heads/support/v1')), succeeded())
200+
condition: and(contains(variables['build.sourceBranch'], 'refs/tags/v'), succeeded())
198201
dependsOn: build
199202
jobs:
200203
- deployment: deploy_hidi
@@ -305,18 +308,10 @@ extends:
305308
condition: succeededOrFailed()
306309
inputs:
307310
gitHubConnection: 'Github-MaggieKimani1'
308-
action: create
311+
action: edit
309312
tagSource: userSpecifiedTag
310-
tag: '$(artifactVersion)'
311-
title: '$(artifactVersion)'
313+
tag: 'v$(artifactVersion)'
312314
releaseNotesSource: inline
313315
assets: '$(Pipeline.Workspace)\**\*.exe'
314-
changeLogType: issueBased
315-
changeLogLabels: '[
316-
{ "label" : "feature-work", "feature", "displayName" : "New Features", "state" : "closed" },
317-
{ "label" : "enhancement", "V2-Enhancement", "displayName" : "Enhancements", "state" : "closed" },
318-
{ "label" : "bug", "bug-fix", "displayName" : "Bugs", "state" : "closed" },
319-
{ "label" : "documentation", "doc", "displayName" : "Documentation", "state" : "closed"},
320-
{ "label" : "dependencies", "displayName" : "Package Updates", "state" : "closed" }
321-
]'
316+
addChangeLog: false
322317

0 commit comments

Comments
 (0)