Skip to content

Commit

Permalink
Missing tester group parameter fix (#17)
Browse files Browse the repository at this point in the history
* another testers_group parameter typo fix + added quotes
  • Loading branch information
imrekel authored Oct 13, 2020
1 parent 8a7227a commit 0a7696d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testfairy-upload-ios.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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' )
Expand Down

0 comments on commit 0a7696d

Please sign in to comment.