From 524c04a6ebbb6b5ad30ab9d0dd81bb97a34d9f9d Mon Sep 17 00:00:00 2001 From: Sheldon Robinson Date: Wed, 23 Oct 2024 14:15:28 -0400 Subject: [PATCH] Update distrelease.ps1 with arch in filename icu-windows- --- icu4c/packaging/distrelease.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/icu4c/packaging/distrelease.ps1 b/icu4c/packaging/distrelease.ps1 index d907cefbd329..2032b0c4d7f5 100644 --- a/icu4c/packaging/distrelease.ps1 +++ b/icu4c/packaging/distrelease.ps1 @@ -40,8 +40,8 @@ New-Item -Path $source -ItemType "directory" -ErrorAction SilentlyContinue # copy required stuff if ($arch -eq "x64") { - Copy-Item -Path "$icuDir\lib64" -Destination $source -Recurse - Copy-Item -Path "$icuDir\bin64" -Destination $source -Recurse + Copy-Item -Path "$icuDir\lib64" -Destination "$source\lib" -Recurse + Copy-Item -Path "$icuDir\bin64" -Destination "$source\bin" -Recurse } elseif ($arch -eq "x86") { @@ -50,8 +50,8 @@ elseif ($arch -eq "x86") } elseif ($arch -eq "ARM64") { - Copy-Item -Path "$icuDir\libARM64" -Destination $source -Recurse - Copy-Item -Path "$icuDir\binARM64" -Destination $source -Recurse + Copy-Item -Path "$icuDir\libARM64" -Destination "$source\lib" -Recurse + Copy-Item -Path "$icuDir\binARM64" -Destination "$source\bin" -Recurse } else { @@ -68,7 +68,7 @@ Copy-Item -Path "$icuDir\LICENSE" -Destination $source -Recurse Copy-Item -Path "$icuDir\readme.html" -Destination $source -Recurse -$destination = "$icuDir\source\dist\icu-windows.zip" +$destination = "$icuDir\source\dist\icu-windows-$arch.zip" Remove-Item -Path $destination -ErrorAction Continue Echo $source Echo $destination