mirror of
https://github.com/hanzoai/dev.git
synced 2026-10-25 03:32:32 +00:00
chore(cli): restore windows optionalDependency for parity with published metadata\n\nKeep @just-every/code-win32-x64 in source so local packs and git installs have fast-path; release workflow still overwrites versions and includes all platform packages. Bun 404 is harmless.
This commit is contained in:
@@ -351,9 +351,15 @@ jobs:
|
||||
|
||||
for f in release-assets/*; do
|
||||
b="$(basename "$f")"
|
||||
# Derive target triple from the filename: code-<triple>[.exe].*
|
||||
t="${b#code-}"
|
||||
t="${t%%.*}"
|
||||
# Derive target triple from the filename while preserving optional .exe (Windows):
|
||||
# code-<triple>[.exe].(zst|tar.gz|zip) -> <triple>[.exe]
|
||||
case "$b" in
|
||||
*.tar.gz) base="${b%.tar.gz}" ;;
|
||||
*.zst) base="${b%.zst}" ;;
|
||||
*.zip) base="${b%.zip}" ;;
|
||||
*) base="$b" ;;
|
||||
esac
|
||||
t="${base#code-}"
|
||||
meta="$(map_target "$t")" || true
|
||||
if [ -z "$meta" ]; then
|
||||
echo "Skipping unrecognized artifact: $b"
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
"@just-every/code-darwin-arm64": "0.2.47",
|
||||
"@just-every/code-darwin-x64": "0.2.47",
|
||||
"@just-every/code-linux-x64-musl": "0.2.47",
|
||||
"@just-every/code-linux-arm64-musl": "0.2.47"
|
||||
"@just-every/code-linux-arm64-musl": "0.2.47",
|
||||
"@just-every/code-win32-x64": "0.2.47"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user