Skip to content

Commit

Permalink
Fix ExtractWindowsAppSDKVersion to only look at WindowsAppSDK nupkg (#…
Browse files Browse the repository at this point in the history
…4629)

* Fix ExtractWindowsAppSDKVersion to only look at WindowsAppSDK nupkg

* Fix typo
  • Loading branch information
JesseCol committed Aug 9, 2024
1 parent 24557c7 commit 9495751
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ steps:
foreach ($file in $files) # Iterate through each package we restored in the directory
{
Write-Host "file:" $file.FullName
$nupkgPaths = Get-ChildItem $file.FullName -Filter "*.nupkg"
$nupkgPaths = Get-ChildItem $file.FullName -Filter "*WindowsAppSDK*.nupkg"
# Extract nupkg to access the nuspec
# The files in this directory does not contain the nuspec by default
Expand Down Expand Up @@ -236,4 +236,4 @@ steps:
- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: '$(ob_outputDirectory)'
artifactName: '$(ob_artifactBaseName)'
artifactName: '$(ob_artifactBaseName)'

0 comments on commit 9495751

Please sign in to comment.