From 2bf7746dbc2b7984408acb30a128f73591f2c25d Mon Sep 17 00:00:00 2001 From: elzik <23397871+elzik@users.noreply.github.com> Date: Fri, 20 Oct 2023 20:51:11 +0100 Subject: [PATCH] Remove trailing separator from root path --- Build/build-and-test.ps1 | 2 ++ Build/build-windows-installer.ps1 | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Build/build-and-test.ps1 b/Build/build-and-test.ps1 index 5770449..b93e08e 100644 --- a/Build/build-and-test.ps1 +++ b/Build/build-and-test.ps1 @@ -1,4 +1,6 @@ $repoRootPath = (Resolve-Path "$PSScriptRoot/../").Path +$repoRootPath = $repoRootPath.Substring(0,$repoRootPath.Length-1) +Write-Output "Repo root path:$repoRootPath" dotnet test $repoRootPath/Elzik.FmSync.sln ` -c Release ` diff --git a/Build/build-windows-installer.ps1 b/Build/build-windows-installer.ps1 index ea8ec8b..8c70ee1 100644 --- a/Build/build-windows-installer.ps1 +++ b/Build/build-windows-installer.ps1 @@ -1,4 +1,6 @@ $repoRootPath = (Resolve-Path "$PSScriptRoot/../").Path +$repoRootPath = $repoRootPath.Substring(0,$repoRootPath.Length-1) +Write-Output "Repo root path:$repoRootPath" dotnet publish $repoRootPath\src\Elzik.FmSync.Worker\Elzik.FmSync.Worker.csproj ` --runtime win-x64 `