hellbender-wallet/scripts/build-release.sh
Nick Klockenga 209750c4e5
Rebrand Wallet to Birch Wallet (#28)
* step one

* progress

* minor theme enhancements

* update screenshot and icon links in README.md

* update site link

* swiftformat fixes
2026-04-30 21:00:59 -04:00

26 lines
679 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
# build-release.sh — Produce a verifiable unsigned release archive.
# Usage: ./scripts/build-release.sh
#
# Output: /tmp/birch-build/birch.xcarchive
DERIVED_DATA="/tmp/birch-build"
echo "==> Cleaning previous build artifacts..."
rm -rf "$DERIVED_DATA"
echo "==> Archiving (unsigned, Release configuration)..."
xcodebuild archive \
-scheme birch \
-project birch.xcodeproj \
-archivePath "$DERIVED_DATA/birch.xcarchive" \
-derivedDataPath "$DERIVED_DATA" \
-configuration Release \
CODE_SIGNING_ALLOWED=NO \
CODE_SIGN_IDENTITY="" \
| xcpretty && exit ${PIPESTATUS[0]}
echo "==> Archive complete: $DERIVED_DATA/birch.xcarchive"