feat(v1): add demo runbook and release package
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
param(
|
||||
[Parameter(Mandatory = $true)][string]$ModelPath,
|
||||
[Parameter(Mandatory = $true)][string]$ModelSha256,
|
||||
[string]$Output = "dist/SilverPose-V1"
|
||||
)
|
||||
|
||||
$ErrorActionPreference = "Stop"
|
||||
$projectRoot = (Resolve-Path (Join-Path $PSScriptRoot "..\..")).Path
|
||||
Set-Location $projectRoot
|
||||
python -m v1.release build --project-root $projectRoot --model-path $ModelPath --model-sha256 $ModelSha256 --output $Output
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
throw "V1 release package build failed with exit code $LASTEXITCODE"
|
||||
}
|
||||
Reference in New Issue
Block a user