Skip to content

Commit 5400bbe

Browse files
committed
fix: reverts to a regular variable for the tag value
Signed-off-by: Vincent Biret <[email protected]>
1 parent 74a7b5d commit 5400bbe

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.azure-pipelines/ci-build.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -297,19 +297,18 @@ extends:
297297
$artifactName = Get-ChildItem -Path $(Pipeline.Workspace)\Nugets -Filter Microsoft.OpenApi.*.nupkg -recurse | select -First 1
298298
$artifactVersion= $artifactName.Name -replace "Microsoft.OpenApi.", "" -replace ".nupkg", ""
299299
#Set Variable $artifactName and $artifactVersion
300-
Write-Host "##vso[task.setvariable variable=artifactVersion; isSecret=false; isOutput=true]$artifactVersion"
300+
Write-Host "##vso[task.setvariable variable=artifactVersion; isSecret=false;]$artifactVersion"
301301
echo "$artifactVersion"
302302
displayName: 'Fetch Artifact Name'
303-
name: getTagVersion
304303
- task: GitHubRelease@1
305304
displayName: 'GitHub release (edit)'
306305
condition: succeededOrFailed()
307306
inputs:
308307
gitHubConnection: 'Github-MaggieKimani1'
309308
action: create
310309
tagSource: userSpecifiedTag
311-
tag: '$(getTagVersion.artifactVersion)'
312-
title: '$(getTagVersion.artifactVersion)'
310+
tag: '$(artifactVersion)'
311+
title: '$(artifactVersion)'
313312
releaseNotesSource: inline
314313
assets: '$(Pipeline.Workspace)\**\*.exe'
315314
changeLogType: issueBased

0 commit comments

Comments
 (0)