scripts/release-ios.sh

13 lines · 719 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 releases' are. Run after scripts/release-mac.sh and before
 5# scripts/release-macos.sh, from the same commit. The work is done by
 6# appstore-kit, checked out beside this repository or at $APPSTORE_KIT.
 7# Usage: scripts/release-ios.sh
 8#   ORGSTAR_PUBLISH  0 archives and exports the .ipa to .build/ios-release without uploading
 9PUBLISH="${ORGSTAR_PUBLISH:-1}"
10name=orgstar
11project=ios/Orgstar.xcodeproj
12scheme="Orgstar iOS"
13. "${APPSTORE_KIT:-$(dirname "$0")/../../appstore-kit}/release-ios.sh"