From 73740b03d6c171893cbd17aa9e3f629cb9d52694 Mon Sep 17 00:00:00 2001 From: Brett Hewitson Date: Thu, 29 Dec 2022 15:23:09 +1000 Subject: [PATCH] pipeline file changes --- ...pply-semantic-versioning-to-assembyinfo-files.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.azure/pipelines/apply-semantic-versioning-to-assembyinfo-files.yml b/.azure/pipelines/apply-semantic-versioning-to-assembyinfo-files.yml index 832b8820..470512c4 100644 --- a/.azure/pipelines/apply-semantic-versioning-to-assembyinfo-files.yml +++ b/.azure/pipelines/apply-semantic-versioning-to-assembyinfo-files.yml @@ -42,15 +42,15 @@ steps: # iterate the search path (and sub directories) looking for files that match the search filter Get-ChildItem -Path $PathToSearch -Filter $SearchFilter -Recurse | % { - Write-Host " -> Checking $($_.FullName)" + #Write-Host " -> Checking $($_.FullName)" # remove the read-only bit on the file - Set-ItemProperty $_.FullName -name IsReadOnly -value $false + #Set-ItemProperty $_.FullName -name IsReadOnly -value $false # run the regex replace - $content = Get-Content $_.FullName - $content = Replace-Version -content $content -version $version -attribute 'AssemblyVersion' - $content = Replace-Version -content $content -version $fileVersion -attribute 'AssemblyFileVersion' - $content | Set-Content $_.FullName -Encoding UTF8 + #$content = Get-Content $_.FullName + #$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