File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -218,10 +218,9 @@ extends:
218218 $artifactVersion= $artifactName.Name -replace "Microsoft.OpenApi.", "" -replace ".nupkg", ""
219219 #Set Variable $artifactName and $artifactVersion
220220 Write-Host "##vso[task.setvariable variable=artifactVersion; isSecret=false; isOutput=true]$artifactVersion"
221- Write-Host "##vso[task.setvariable variable=artifactName; isSecret=false; isOutput=true]$artifactName.FullName"
222- echo "$artifactName"
223221 echo "$artifactVersion"
224222 displayName: 'Fetch Artifact Name'
223+ name: getTagVersion
225224 - task : 1ES.PublishNuget@1
226225 displayName : ' NuGet push'
227226 inputs :
@@ -234,10 +233,10 @@ extends:
234233 condition : succeededOrFailed()
235234 inputs :
236235 gitHubConnection : ' Github-MaggieKimani1'
237- action : edit
236+ action : create
238237 tagSource : userSpecifiedTag
239- tag : ' $(artifactVersion)'
240- title : ' $(artifactVersion)'
238+ tag : ' $(getTagVersion. artifactVersion)'
239+ title : ' $(getTagVersion. artifactVersion)'
241240 releaseNotesSource : inline
242241 assets : ' $(Pipeline.Workspace)\**\*.exe'
243242 changeLogType : issueBased
You can’t perform that action at this time.
0 commit comments