Skip to content

Commit

Permalink
VCI-151: Fix path escaping in CompleteRelease target
Browse files Browse the repository at this point in the history
  • Loading branch information
krankenbro committed Mar 26, 2024
1 parent 18d13d5 commit 870e80a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/VirtoCommerce.Build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -463,8 +463,8 @@ protected override void OnTargetFailed(string target)
}
else
{
var manifestPath = IsModule ? RootDirectory.GetRelativePathTo(ModuleManifestFile) : "";
filesToAdd = $"Directory.Build.props {manifestPath}";
var manifestPath = IsModule ? $"\"{RootDirectory.GetRelativePathTo(ModuleManifestFile)}\"" : "";
filesToAdd = $"\"Directory.Build.props\" {manifestPath}";
}
GitTasks.Git($"add {filesToAdd}");
Expand Down

0 comments on commit 870e80a

Please sign in to comment.