8 lines
524 B
PowerShell
8 lines
524 B
PowerShell
$ErrorActionPreference = 'Stop'
|
|
$releaseDir = Join-Path (Split-Path $PSScriptRoot -Parent) 'releases'
|
|
New-Item -ItemType Directory -Path $releaseDir -Force | Out-Null
|
|
$archivePath = Join-Path $releaseDir 'NumberSwipe-campaign-200-r2-高亮指路-保留玩家填色-20261020.zip'
|
|
$assets = @('game.js','game.json','project.config.json','audio') | ForEach-Object { Join-Path $PSScriptRoot $_ }
|
|
Compress-Archive -LiteralPath $assets -DestinationPath $archivePath -Force
|
|
Get-FileHash -LiteralPath $archivePath -Algorithm SHA256
|