mirror of
https://github.com/tribufu/ServerManagers
synced 2026-06-01 09:42:39 +00:00
pipeline file changes
This commit is contained in:
parent
6ef80eb4f7
commit
83af0f4d99
1 changed files with 2 additions and 0 deletions
|
|
@ -95,6 +95,8 @@ steps:
|
||||||
|
|
||||||
# run the regex replace
|
# run the regex replace
|
||||||
$content = Get-Content $file.FullName
|
$content = Get-Content $file.FullName
|
||||||
|
$content = Replace-Version -content $content -version $version -attribute 'AssemblyVersion'
|
||||||
|
$content = Replace-Version -content $content -version $fileVersion -attribute 'AssemblyFileVersion'
|
||||||
$content | Set-Content $file.FullName -Encoding UTF8
|
$content | Set-Content $file.FullName -Encoding UTF8
|
||||||
}
|
}
|
||||||
pwsh: true
|
pwsh: true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue