From 1090a09fad20fc9fee88c667559e821eb06651ff Mon Sep 17 00:00:00 2001 From: smorokin <32683528+smorokin@users.noreply.github.com> Date: Wed, 26 Jul 2023 09:17:41 +0200 Subject: [PATCH] "_" is not allowed in nuget version strings --- src/GitInfo/build/GitInfo.targets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GitInfo/build/GitInfo.targets b/src/GitInfo/build/GitInfo.targets index f96531b..fe0580d 100644 --- a/src/GitInfo/build/GitInfo.targets +++ b/src/GitInfo/build/GitInfo.targets @@ -571,7 +571,7 @@ - $(GitSemVerMajor).$(GitSemVerMinor).$(GitSemVerPatch)$(GitSemVerDashLabel)+$(GitBranch.Replace('/', '-').Replace('\', '-')).$(GitCommit) + $(GitSemVerMajor).$(GitSemVerMinor).$(GitSemVerPatch)$(GitSemVerDashLabel)+$(GitBranch.Replace('/', '-').Replace('\', '-').Replace('_', '-').$(GitCommit) $(Version)