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:
297
297
$artifactName = Get-ChildItem -Path $(Pipeline.Workspace)\Nugets -Filter Microsoft.OpenApi.*.nupkg -recurse | select -First 1
298
298
$artifactVersion= $artifactName.Name -replace "Microsoft.OpenApi.", "" -replace ".nupkg", ""
299
299
#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"
301
301
echo "$artifactVersion"
302
302
displayName: 'Fetch Artifact Name'
303
- name: getTagVersion
304
303
- task : GitHubRelease@1
305
304
displayName : ' GitHub release (edit)'
306
305
condition : succeededOrFailed()
307
306
inputs :
308
307
gitHubConnection : ' Github-MaggieKimani1'
309
308
action : create
310
309
tagSource : userSpecifiedTag
311
- tag : ' $(getTagVersion. artifactVersion)'
312
- title : ' $(getTagVersion. artifactVersion)'
310
+ tag : ' $(artifactVersion)'
311
+ title : ' $(artifactVersion)'
313
312
releaseNotesSource : inline
314
313
assets : ' $(Pipeline.Workspace)\**\*.exe'
315
314
changeLogType : issueBased
You can’t perform that action at this time.
0 commit comments