mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
pipeline file changes
This commit is contained in:
parent
73740b03d6
commit
1fbe2f3b0d
1 changed files with 2 additions and 2 deletions
|
|
@ -41,7 +41,8 @@ steps:
|
||||||
Write-Host "Using version $version and file version $fileVersion"
|
Write-Host "Using version $version and file version $fileVersion"
|
||||||
|
|
||||||
# iterate the search path (and sub directories) looking for files that match the search filter
|
# 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)"
|
#Write-Host " -> Checking $($_.FullName)"
|
||||||
|
|
||||||
# remove the read-only bit on the file
|
# 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 $version -attribute 'AssemblyVersion'
|
||||||
#$content = Replace-Version -content $content -version $fileVersion -attribute 'AssemblyFileVersion'
|
#$content = Replace-Version -content $content -version $fileVersion -attribute 'AssemblyFileVersion'
|
||||||
#$content | Set-Content $_.FullName -Encoding UTF8
|
#$content | Set-Content $_.FullName -Encoding UTF8
|
||||||
}
|
|
||||||
pwsh: true
|
pwsh: true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue