File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments