scripts/release-ios.sh

3aa264c947476955d58c5cccc70e97072bb47877
orgstar/scripts/release-ios.sh

18 lines · 860 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
14# Runs before the archive.
15preflight() {
16    ORGSTAR_GATES=1 swift test -c release --filter GateTests || fail "a performance gate failed"
17}
18. "${APPSTORE_KIT:-$(dirname "$0")/../../appstore-kit}/release-ios.sh"
Keyboard shortcuts

Global

⌘K
Command palette & jump
/
Focus search
?
Show this help
g d
Dashboard
g e
Explore repositories
g n
Notifications

Repository & editor

t
Find file in repository
y
Copy immutable SHA permalink
g c
Code tab
g i
Issues tab
g m
Merge requests tab
g b
Builds tab
⌘↵
Submit active form