From 8a6eae6c97e7d1cfa8dbbb23a77310c8e69f0116 Mon Sep 17 00:00:00 2001 From: WarmUpTill Date: Mon, 2 Oct 2023 21:06:00 +0200 Subject: [PATCH] CI: Fix Windows build script appending new lines to CMakeLists.txt --- .github/scripts/Build-Windows.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/Build-Windows.ps1 b/.github/scripts/Build-Windows.ps1 index 9731f9a9..7bec7a7f 100644 --- a/.github/scripts/Build-Windows.ps1 +++ b/.github/scripts/Build-Windows.ps1 @@ -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