From 0a7696dafbac7b20f1272911133d674f87493657 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Imre=20Kel=C3=A9nyi?= Date: Tue, 13 Oct 2020 12:14:20 +0200 Subject: [PATCH] Missing tester group parameter fix (#17) * another testers_group parameter typo fix + added quotes --- testfairy-upload-ios.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testfairy-upload-ios.sh b/testfairy-upload-ios.sh index 31acbcb..58d544a 100755 --- a/testfairy-upload-ios.sh +++ b/testfairy-upload-ios.sh @@ -82,9 +82,9 @@ DATE=`date` /bin/echo -n "Uploading ${IPA_FILENAME} to TestFairy.. " if [ ! -f "${DSYM_FILENAME}" ]; then - JSON=$( ${CURL} -s ${SERVER_ENDPOINT}/api/upload -F api_key=${api_key} -F file="@${IPA_FILENAME}" -F video="${VIDEO}" -F max-duration="${MAX_DURATION}" -F comment="${COMMENT}" -F testers_groups="${TESTER_GROUPS}" -F auto-update="${AUTO_UPDATE}" -F notify="${NOTIFY}" -A "TestFairy iOS Command Line Uploader ${UPLOADER_VERSION}" ) + JSON=$( ${CURL} -s ${SERVER_ENDPOINT}/api/upload -F api_key="${api_key}" -F file="@${IPA_FILENAME}" -F video="${VIDEO}" -F max-duration="${MAX_DURATION}" -F comment="${COMMENT}" -F testers_groups="${TESTER_GROUPS}" -F auto-update="${AUTO_UPDATE}" -F notify="${NOTIFY}" -A "TestFairy iOS Command Line Uploader ${UPLOADER_VERSION}" ) else - JSON=$( ${CURL} -s ${SERVER_ENDPOINT}/api/upload -F api_key=${api_key} -F file="@${IPA_FILENAME}" -F symbols_file="@${DSYM_FILENAME}" -F video="${VIDEO}" -F max-duration="${MAX_DURATION}" -F comment="${COMMENT}" -F testers-groups="${TESTER_GROUPS}" -F auto-update="${AUTO_UPDATE}" -F notify="${NOTIFY}" -A "TestFairy iOS Command Line Uploader ${UPLOADER_VERSION}" ) + JSON=$( ${CURL} -s ${SERVER_ENDPOINT}/api/upload -F api_key="${api_key}" -F file="@${IPA_FILENAME}" -F symbols_file="@${DSYM_FILENAME}" -F video="${VIDEO}" -F max-duration="${MAX_DURATION}" -F comment="${COMMENT}" -F testers_groups="${TESTER_GROUPS}" -F auto-update="${AUTO_UPDATE}" -F notify="${NOTIFY}" -A "TestFairy iOS Command Line Uploader ${UPLOADER_VERSION}" ) fi MESSAGE=$( echo ${JSON} | sed 's/\\\//\//g' | sed -n 's/.*"message"\s*:\s*"\([^"]*\)".*/\1/p' )