scripts/release-ios.sh

12 lines · 658 bytes · executable

 1#!/bin/sh
 2# Archives the iOS app (with its extensions and the watch app) and uploads it to App Store
 3# Connect for TestFlight. The version is the project's MARKETING_VERSION; the build number is the
 4# commit count, as the Mac release's is. Run after scripts/release-mac.sh. The work is done by
 5# appstore-kit, checked out beside this repository or at $APPSTORE_KIT.
 6# Usage: scripts/release-ios.sh
 7#   ORGSTAR_PUBLISH  0 archives and exports the .ipa to .build/ios-release without uploading
 8PUBLISH="${ORGSTAR_PUBLISH:-1}"
 9name=orgstar
10project=ios/Orgstar.xcodeproj
11scheme="Orgstar iOS"
12. "${APPSTORE_KIT:-$(dirname "$0")/../../appstore-kit}/release-ios.sh"