We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fa91a8 commit 27dd1e9Copy full SHA for 27dd1e9
.azure-pipelines/ci-build.yml
@@ -271,7 +271,7 @@ stages:
271
source: current
272
- pwsh: |
273
$artifactName = Get-ChildItem -Path $(Pipeline.Workspace)\Nugets -Filter Microsoft.OpenApi.*.nupkg -recurse | select -First 1
274
- $artifactVersion= $artifactName -replace "Microsoft.OpenApi.", "" -replace ".nupkg", ""
+ $artifactVersion= $artifactName.Name -replace "Microsoft.OpenApi.", "" -replace ".nupkg", ""
275
#Set Variable $artifactName and $artifactVersion
276
Write-Host "##vso[task.setvariable variable=artifactVersion; isSecret=false; isOutput=true]$artifactVersion"
277
Write-Host "##vso[task.setvariable variable=artifactName; isSecret=false; isOutput=true]$artifactName.FullName"
0 commit comments