openclaw/scripts/ios-release-cut.sh
Josh Avant cd2724e432
feat(release): automate iOS and Android store releases (#158807)
Add manually triggered iOS Store Release and Android Store Release workflows with the same local release commands. Derive store versions and OpenAI release notes at build time, retain recovery artifacts, and avoid generated metadata commits.

Pin queued releases to their dispatch commit, qualify native iOS behavior before signing, and improve Android screenshots and interrupted artifact recovery.

Validation includes focused release/planner tests, workflow and type checks, native iOS qualification, Android screenshot capture, and historical release-note exercises. CI failure attribution and remaining hosted release verification are documented in the PR.

Closes #158806
2026-09-26 06:28:29 -05:00

29 lines
769 B
Bash

#!/bin/bash
set -euo pipefail
usage() {
cat <<'EOF'
Usage:
scripts/ios-release-cut.sh [--version 2026.7.2] [--revision 1] [--build-number 3]
Resolves the live iOS release plan and moves Unreleased notes into the exact
planned App Store version heading. This does not mutate App Store Connect.
EOF
}
for argument in "$@"; do
if [[ "${argument}" == "-h" || "${argument}" == "--help" ]]; then
usage
exit 0
fi
done
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
PLAN_FILE="$(mktemp "${TMPDIR:-/tmp}/openclaw-ios-release-cut.XXXXXX")"
trap 'rm -f "${PLAN_FILE}"' EXIT
/bin/bash "${ROOT_DIR}/scripts/ios-release-plan.sh" --json "$@" >"${PLAN_FILE}"
(
cd "${ROOT_DIR}"
node --import tsx scripts/ios-release-cut.ts --plan "${PLAN_FILE}"
)