Skip to content

Commit 9e17302

Browse files
committed
fix(build): Prefer universal AXe archive in bundling
Download the universal AXe release archive for bundling on all\nplatforms before falling back to the legacy archive. This fixes\nCI failures when the release only publishes the universal asset\nname and keeps the existing fallback path for older releases.\n\nCo-Authored-By: OpenAI <noreply@openai.com>
1 parent fbc21e4 commit 9e17302

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

scripts/bundle-axe.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,13 @@ else
103103
cd "$AXE_TEMP_DIR"
104104

105105
# Download and extract the release
106-
if [ "$(uname -s)" != "Darwin" ]; then
107-
echo "📥 Non-macOS detected; downloading pre-signed legacy archive ($AXE_LEGACY_URL)..."
108-
curl -fL -o "axe-release.tar.gz" "$AXE_LEGACY_URL"
109-
AXE_ARCHIVE_FLAVOR="legacy-signed"
110-
elif curl -fL -o "axe-release.tar.gz" "$AXE_UNIVERSAL_URL"; then
106+
if curl -fL -o "axe-release.tar.gz" "$AXE_UNIVERSAL_URL"; then
111107
AXE_ARCHIVE_FLAVOR="universal"
112-
echo "✅ Downloaded AXe universal archive"
108+
if [ "$(uname -s)" != "Darwin" ]; then
109+
echo "✅ Downloaded AXe universal archive for non-macOS bundling"
110+
else
111+
echo "✅ Downloaded AXe universal archive"
112+
fi
113113
else
114114
echo "⚠️ AXe universal archive unavailable, falling back to legacy archive"
115115
curl -fL -o "axe-release.tar.gz" "$AXE_LEGACY_URL"

0 commit comments

Comments
 (0)