<commit_before>#!/bin/bash

THIS_SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

if [ -z "${STEP_DELIVER_DEPLOY_IPA_PATH}" ] ; then
	echo " [!] \`STEP_DELIVER_DEPLOY_IPA_PATH\` not provided!"
	exit 1
fi

if [ -z "${STEP_DELIVER_DEPLOY_ITUNESCON_PASSWORD}" ] ; then
	echo " [!] \`STEP_DELIVER_DEPLOY_ITUNESCON_PASSWORD\` not provided!"
	exit 1
fi

if [ -z "${STEP_DELIVER_DEPLOY_ITUNESCON_USER}" ] ; then
	echo " [!] \`STEP_DELIVER_DEPLOY_ITUNESCON_USER\` not provided!"
	exit 1
fi

if [ -z "${STEP_DELIVER_DEPLOY_ITUNESCON_APP_ID}" ] ; then
	echo " [!] \`STEP_DELIVER_DEPLOY_ITUNESCON_APP_ID\` not provided!"
	exit 1
fi

# ---------------------
# --- Main

set -e
set -v

echo "Start"

bash "${THIS_SCRIPT_DIR}/_setup.sh"

export DELIVER_USER="${STEP_DELIVER_DEPLOY_ITUNESCON_USER}"
export DELIVER_PASSWORD="${STEP_DELIVER_DEPLOY_ITUNESCON_PASSWORD}"

deliver testflight --beta -a "${STEP_DELIVER_DEPLOY_ITUNESCON_APP_ID}" "${STEP_DELIVER_DEPLOY_IPA_PATH}"

exit 0<commit_msg>new deliver cli combination test<commit_after>#!/bin/bash

THIS_SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

if [ -z "${STEP_DELIVER_DEPLOY_IPA_PATH}" ] ; then
	echo " [!] \`STEP_DELIVER_DEPLOY_IPA_PATH\` not provided!"
	exit 1
fi

if [ -z "${STEP_DELIVER_DEPLOY_ITUNESCON_PASSWORD}" ] ; then
	echo " [!] \`STEP_DELIVER_DEPLOY_ITUNESCON_PASSWORD\` not provided!"
	exit 1
fi

if [ -z "${STEP_DELIVER_DEPLOY_ITUNESCON_USER}" ] ; then
	echo " [!] \`STEP_DELIVER_DEPLOY_ITUNESCON_USER\` not provided!"
	exit 1
fi

if [ -z "${STEP_DELIVER_DEPLOY_ITUNESCON_APP_ID}" ] ; then
	echo " [!] \`STEP_DELIVER_DEPLOY_ITUNESCON_APP_ID\` not provided!"
	exit 1
fi

# ---------------------
# --- Main

set -e
set -v

echo "Start"

bash "${THIS_SCRIPT_DIR}/_setup.sh"

export DELIVER_USER="${STEP_DELIVER_DEPLOY_ITUNESCON_USER}"
export DELIVER_PASSWORD="${<PASSWORD>}"

deliver testflight --force --skip-deploy -a "${STEP_DELIVER_DEPLOY_ITUNESCON_APP_ID}" "${STEP_DELIVER_DEPLOY_IPA_PATH}"

exit 0
{'fraction_non_alphanumeric': 0.16834170854271358, 'fraction_numerical': 0.006030150753768844, 'mean_word_length': 4.943283582089553, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '839022', 'n_tokens_mistral': 950, 'n_tokens_neox': 864, 'n_words': 146}