Skip to content

Commit 777970a

Browse files
committed
Update publish scripts
1 parent 7f69edf commit 777970a

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

RegularZip.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ if ((Get-ChildItem "bin\Release\net9.0" -Exclude "sc").Count -gt 0)
22
{
33
foreach ($dir in $(Get-ChildItem "bin\Release\net9.0" -Exclude @("sc", "*.zip") -Directory))
44
{
5-
Write-Host "Zipping $($dir.FullName)..." -BackgroundColor Black -ForegroundColor DarkYellow
5+
Write-Debug "Zipping $($dir.FullName)..."
66
# Determine platform
77
if ($dir.Name.Contains("win")) {
88
Compress-Archive -Path "$($dir.FullName)\*" -DestinationPath "bin\Release\net9.0\$($dir.Name.Replace("win", $([IO.Path]::GetFileName(((Get-Location).Path)))))-Windows.zip"

SelfContainedZip.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ if ((Get-ChildItem "bin\Release\net9.0\sc").Count -gt 0)
22
{
33
foreach ($dir in $(Get-ChildItem "bin\Release\net9.0\sc"))
44
{
5-
Write-Host "Zipping $($dir.FullName)..." -BackgroundColor Black -ForegroundColor DarkYellow
5+
Write-Debug "Zipping $($dir.FullName)..."
66
# Determine platform
77
if ($dir.Name.Contains("win")) {
88
Compress-Archive -Path "$($dir.FullName)\*" -DestinationPath "bin\Release\net9.0\$($dir.Name.Replace("win", $([IO.Path]::GetFileName(((Get-Location).Path)))))--Windows-SelfContained.zip"

publish.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ for %%a in (win-x86 win-x64 win-arm64 osx-x64 osx-arm64 linux-x64 linux-arm64) d
9797
echo Zipping regular binaries...
9898
powershell -ExecutionPolicy Bypass ".\RegularZip.ps1"
9999

100+
echo Completed.
100101
ENDLOCAL
101102
exit /b
102103

0 commit comments

Comments
 (0)