CI: Fix Windows build script appending new lines to CMakeLists.txt

This commit is contained in:
WarmUpTill 2023-10-02 21:06:00 +02:00 committed by WarmUpTill
parent 67eef8a004
commit 8a6eae6c97

View File

@ -71,7 +71,7 @@ function Build {
(Get-Content -Path ${ProjectRoot}/CMakeLists.txt -Raw) `
-replace "project\((.*) VERSION (.*)\)", "project(${ProductName} VERSION ${ProductVersion})" `
| Out-File -Path ${ProjectRoot}/CMakeLists.txt
| Out-File -Path ${ProjectRoot}/CMakeLists.txt -NoNewline
Setup-Obs