Skip to content

Commit 99d2689

Browse files
Fix stage_for_s3.bash to match actual release file patterns
- Only expect Linux builds (macOS must be built locally) - Fix file pattern: node-*-linux-x64-LATEST.tar.xz (no -pc- in source) - Only expect 2 tarballs to be processed (linux-x64, linux-arm64) Co-Authored-By: Claude (global.anthropic.claude-opus-4-5-20251101-v1:0) <noreply@anthropic.com>
1 parent f9054a0 commit 99d2689

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

stage_for_s3.bash

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,15 @@
22
set -euo pipefail
33

44
# Expected files that must be present after downloads
5+
# Note: Only Linux builds come from CI releases; macOS must be built locally
56
EXPECTED_NODE_TARBALLS=(
6-
"node-*-linux-x64-pc-LATEST.tar.xz"
7-
"node-*-linux-arm64-pc-LATEST.tar.xz"
8-
"node-*-darwin-x64-pc-LATEST.tar.xz"
9-
"node-*-darwin-arm64-pc-LATEST.tar.xz"
7+
"node-*-linux-x64-LATEST.tar.xz"
8+
"node-*-linux-arm64-LATEST.tar.xz"
109
)
1110

1211
EXPECTED_FIBERS_BINARIES=(
1312
"linux-x64-*.tar.gz"
1413
"linux-arm64-*.tar.gz"
15-
"darwin-x64-*.tar.gz"
16-
"darwin-arm64-*.tar.gz"
1714
)
1815

1916
check_files_exist() {
@@ -122,8 +119,8 @@ for file in *.tar.xz; do
122119
fi
123120
done
124121

125-
if [[ $processed_count -lt 4 ]]; then
126-
echo "ERROR: Expected to process at least 4 Node.js tarballs, but only processed $processed_count" >&2
122+
if [[ $processed_count -lt 2 ]]; then
123+
echo "ERROR: Expected to process at least 2 Node.js tarballs, but only processed $processed_count" >&2
127124
exit 1
128125
fi
129126

0 commit comments

Comments
 (0)