diff --git a/Bedtime/ci_scripts/ci_post_xcodebuild.sh b/Bedtime/ci_scripts/ci_post_xcodebuild.sh new file mode 100755 index 0000000..8cf02a4 --- /dev/null +++ b/Bedtime/ci_scripts/ci_post_xcodebuild.sh @@ -0,0 +1,9 @@ +#!/bin/zsh +set -eu + +if [[ "${CI_XCODEBUILD_ACTION:-}" == "archive" && -d "${CI_APP_STORE_SIGNED_APP_PATH:-}" ]]; then + # what to test + TESTFLIGHT_DIR_PATH=../TestFlight + mkdir -p "$TESTFLIGHT_DIR_PATH" + echo "Branch: $CI_BRANCH" >! "$TESTFLIGHT_DIR_PATH/WhatToTest.en-US.txt" +fi