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
8ce5d15c41
commit
2df20a5ee1
1 changed files with 0 additions and 14 deletions
|
|
@ -39,18 +39,4 @@ steps:
|
|||
$version = Get-VersionString -numberOfVersions $VersionNumbersInVersion -extractedBuildNumbers $extractedBuildNumbers
|
||||
$fileVersion = Get-VersionString -numberOfVersions $VersionNumbersInVersion -extractedBuildNumbers $extractedBuildNumbers
|
||||
Write-Host "Using version $version and file version $fileVersion"
|
||||
|
||||
# iterate the search path (and sub directories) looking for files that match the search filter
|
||||
#$files = Get-ChildItem -Path $PathToSearch -Filter $SearchFilter -Recurse
|
||||
|
||||
#Write-Host " -> Checking $($_.FullName)"
|
||||
|
||||
# remove the read-only bit on the file
|
||||
#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
|
||||
pwsh: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue