From 1fbe2f3b0dfd41d84e097120880bcb9c74dbf7b1 Mon Sep 17 00:00:00 2001 From: Brett Hewitson Date: Thu, 29 Dec 2022 15:23:57 +1000 Subject: [PATCH] pipeline file changes --- .../apply-semantic-versioning-to-assembyinfo-files.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.azure/pipelines/apply-semantic-versioning-to-assembyinfo-files.yml b/.azure/pipelines/apply-semantic-versioning-to-assembyinfo-files.yml index 470512c4..d41d97c7 100644 --- a/.azure/pipelines/apply-semantic-versioning-to-assembyinfo-files.yml +++ b/.azure/pipelines/apply-semantic-versioning-to-assembyinfo-files.yml @@ -41,7 +41,8 @@ steps: Write-Host "Using version $version and file version $fileVersion" # iterate the search path (and sub directories) looking for files that match the search filter - Get-ChildItem -Path $PathToSearch -Filter $SearchFilter -Recurse | % { + $files = Get-ChildItem -Path $PathToSearch -Filter $SearchFilter -Recurse + #Write-Host " -> Checking $($_.FullName)" # remove the read-only bit on the file @@ -52,5 +53,4 @@ steps: #$content = Replace-Version -content $content -version $version -attribute 'AssemblyVersion' #$content = Replace-Version -content $content -version $fileVersion -attribute 'AssemblyFileVersion' #$content | Set-Content $_.FullName -Encoding UTF8 - } pwsh: true