Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -222,12 +222,19 @@ jobs:
version="${{ needs.preflight.outputs.version }}"
slug="${{ matrix.target }}"
slug="${slug#bun-}"
source_base="ncode-${version}-${slug}"
base="ncode-${version}${{ matrix.asset_suffix }}-${slug}"
zip_path="$OUT_DIR/${base}.zip"
manifest_path="$OUT_DIR/${base}/manifest.json"
manifest_path="$OUT_DIR/${source_base}/manifest.json"

test -f "$zip_path"
test -f "$OUT_DIR/${source_base}.zip"
test -f "$manifest_path"
if [[ "$source_base" != "$base" ]]; then
mv "$OUT_DIR/${source_base}.zip" "$zip_path"
else
zip_path="$OUT_DIR/${source_base}.zip"
fi
test -f "$zip_path"

shasum -a 256 "$zip_path" > "$OUT_DIR/${base}.zip.sha256"
cp "$manifest_path" "$OUT_DIR/${base}.manifest.json"
Expand Down
2 changes: 1 addition & 1 deletion build/packageSmoke.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const EXPECTED_IMAGE_PROCESSOR_FALLBACK_WARNING =
// These are smoke-test budgets, not product latency SLOs. They catch broken
// startup paths while allowing GitHub-hosted macOS x64 cold starts enough room
// to avoid millisecond-level flakes after safe whitespace-only packaging.
const VERSION_CHECK_BUDGET_MS = 3_000;
const VERSION_CHECK_BUDGET_MS = 5_000;
const HELP_CHECK_BUDGET_MS = 4_000;

function parseArgs(argv) {
Expand Down
Loading