README.md

main
appstore-kit/README.md rendered · source · history · blame · raw

32 lines · 1078 bytes

3 symbols in this file

appstore-kit

Scripts shared by the iOS apps. Check it out beside the apps (~/git/krz/appstore-kit) or point APPSTORE_KIT at it.

release-ios.sh

Archives an iOS or macOS app, checks the archive's version and build against the project, and exports or uploads it to App Store Connect. Each app's scripts/release-ios.sh sets its options and sources this file; the options are listed at the top of it. Run from a clean main.

#!/bin/sh
PUBLISH="${MOONRISE_PUBLISH:-1}"
name=Moonrise
project=App/Moonrise.xcodeproj
scheme=Moonrise
spec=App/project.yml
. "${APPSTORE_KIT:-$(dirname "$0")/../../appstore-kit}/release-ios.sh"

Extra checks go in a preflight() function defined before the . line. Set platform=macos to archive the Mac app instead; an app on both has one wrapper per platform.

render-header.sh

Renders the product page headers, header-21x9.png and header-16x9.png, from an app's AppStore/header.conf and its screenshots/iphone-6.9 images. Needs Chromium and ImageMagick.

../appstore-kit/render-header.sh App/AppStore