Skip to content

Commit 36d05ad

Browse files
committed
fix: mkdir build before creating archive entitlements
1 parent 4465142 commit 36d05ad

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

scripts/build-release.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,8 @@ build_for_arch() {
352352
SPM_CACHE_DIR="${HOME}/.spm-cache"
353353
mkdir -p "$SPM_CACHE_DIR"
354354

355+
mkdir -p build
356+
355357
# Create archive entitlements without iCloud (Developer ID profiles don't
356358
# include iCloud capability). Full entitlements are used for final codesign.
357359
local archive_entitlements="build/archive-entitlements.plist"
@@ -364,7 +366,6 @@ build_for_arch() {
364366

365367
# Generate ExportOptions.plist
366368
local export_options="build/ExportOptions-${arch}.plist"
367-
mkdir -p build
368369
generate_export_options "$export_options"
369370

370371
# ── Step 1: Archive ──

0 commit comments

Comments
 (0)