Skip to content

Commit

Permalink
Merge branch 'v2.7'
Browse files Browse the repository at this point in the history
  • Loading branch information
AArnott committed Feb 17, 2021
2 parents d35ea03 + 93213ef commit d554088
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion azure-pipelines/variables/InsertPropsValues.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ $BinPath = [System.IO.Path]::GetFullPath("$PSScriptRoot\..\..\bin\Packages\$env:

$dirsToSearch = "$BinPath\NuGet\*.nupkg" |? { Test-Path $_ }
$icv=@()
if ($dirsToSearch) {

# Avoid updating the .props world for an optprof run.
# This avoids breaks in servicing branches when we insert a PublicRelease=false unstable package version.
if ($dirsToSearch -and !$env:OPTPROF) {
Get-ChildItem -Path $dirsToSearch |% {
if ($_.Name -match "^(.*)\.(\d+\.\d+\.\d+(?:-.*?)?)(?:\.symbols)?\.nupkg$") {
$id = $Matches[1]
Expand Down

0 comments on commit d554088

Please sign in to comment.