This is an automated email from the ASF dual-hosted git repository.

lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git


The following commit(s) were added to refs/heads/main by this push:
     new b4f1e3e08 fix(ci/scripts): fix Set-Location syntax (#4307)
b4f1e3e08 is described below

commit b4f1e3e08c2413180fef4811e94d7677949da403
Author: Bruce Irschick <[email protected]>
AuthorDate: Fri May 8 17:07:44 2026 -0700

    fix(ci/scripts): fix Set-Location syntax (#4307)
    
    Correct bug introduced in PR
    https://github.com/apache/arrow-adbc/pull/4304
    - Instead uses the Push-Location / Pop-Location pair
---
 ci/scripts/csharp_pack.ps1 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ci/scripts/csharp_pack.ps1 b/ci/scripts/csharp_pack.ps1
index 6812c410e..36c7bf493 100644
--- a/ci/scripts/csharp_pack.ps1
+++ b/ci/scripts/csharp_pack.ps1
@@ -22,7 +22,7 @@ param (
 
 $csharpFolder = [IO.Path]::Combine($PSScriptRoot, "..", "..", "csharp") | 
Resolve-Path
 Write-Host "Setting Path: $csharpFolder"
-Set-Location $csharpFolder
+Push-Location $csharpFolder
 
 Write-Host "Running dotnet pack -c Release"
 $packArgs = @{
@@ -45,4 +45,4 @@ if ($noBuild) {
 
 dotnet pack @packArgs
 
-Set-Location -
+Pop-Location

Reply via email to