From d3797e2ff6e209131c4d22ad5d1165d1a8e965a6 Mon Sep 17 00:00:00 2001 From: goat Date: Sat, 10 Dec 2022 17:21:22 +0100 Subject: [PATCH] write version files without newlines --- Dalamud/Dalamud.csproj | 30 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/Dalamud/Dalamud.csproj b/Dalamud/Dalamud.csproj index 66487bc91..1c1da09fd 100644 --- a/Dalamud/Dalamud.csproj +++ b/Dalamud/Dalamud.csproj @@ -112,29 +112,25 @@ - - $(IntermediateOutputPath)gitver - $(IntermediateOutputPath)csver $(OutputPath)TEMP_gitver.txt - - - - - - - - - - - - + + + + + + + + - @(GitVersion) - @(GitVersionClientStructs) + $([System.Text.RegularExpressions.Regex]::Replace($(DalamudGitDescribeOutput), @"\t|\n|\r", "")) + $([System.Text.RegularExpressions.Regex]::Replace($(ClientStructsGitDescribeOutput), @"\t|\n|\r", "")) + + +