Publish the patched vt100 dependency
release / build (push) Failing after 14s

This commit is contained in:
lda
2026-07-16 09:12:38 +07:00 Verified
parent c9e5ca10eb
commit 37b6d4e4ff
5 changed files with 25 additions and 27 deletions
+13 -9
View File
@@ -54,17 +54,21 @@ if ($Publish) {
Write-Host 'No -Registry provided; defaulting publish target to registry: gitea'
}
$publishOrder = @(
'lda-ipjs',
'wakey-core',
'wakey-linux',
'wakey',
'wakey-agent',
'wakey-control-plane'
# Patched external crates are excluded from the workspace, so publish
# them by manifest path before workspace packages that depend on them.
$publishTargets = @(
@{ Name = 'wakey-vt100'; Args = @('publish', '--manifest-path', 'vendor/vt100/Cargo.toml') },
@{ Name = 'lda-ipjs'; Args = @('publish', '-p', 'lda-ipjs') },
@{ Name = 'wakey-core'; Args = @('publish', '-p', 'wakey-core') },
@{ Name = 'wakey-linux'; Args = @('publish', '-p', 'wakey-linux') },
@{ Name = 'wakey'; Args = @('publish', '-p', 'wakey') },
@{ Name = 'wakey-agent'; Args = @('publish', '-p', 'wakey-agent') },
@{ Name = 'wakey-control-plane'; Args = @('publish', '-p', 'wakey-control-plane') }
)
foreach ($pkg in $publishOrder) {
$pubArgs = @('publish', '-p', $pkg)
foreach ($target in $publishTargets) {
$pkg = $target.Name
$pubArgs = @($target.Args)
if ($Registry) { $pubArgs += @('--registry', $Registry) }
Write-Host ("publishing {0}..." -f $pkg)