Skip to content

Commit eed73aa

Browse files
authored
print performed deliver command (#15)
* print performed deliver command * print deliver command * step.yml update
1 parent 604a2b6 commit eed73aa

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed

step.sh

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -125,19 +125,20 @@ to perform the deployment.
125125
This means that when the API changes
126126
**this step might fail until the tool is updated**."
127127

128-
129-
export DELIVER_USER="${itunescon_user}"
130128
export DELIVER_PASSWORD="${password}"
131-
export DELIVER_APP_ID="${app_id}"
132129

133130
if [ -n "${team_id}" ] ; then
134-
deliver --team_id "${team_id}" ${CONFIG_package_type} "${CONFIG_package_path}" ${CONFIG_skip_screenshots_type_flag} ${CONFIG_skip_metadata_type_flag} --force ${CONFIG_testflight_beta_deploy_type_flag}
131+
set -x
132+
deliver --username "${itunescon_user}" --app "${app_id}" --team_id "${team_id}" ${CONFIG_package_type} "${CONFIG_package_path}" ${CONFIG_skip_screenshots_type_flag} ${CONFIG_skip_metadata_type_flag} --force ${CONFIG_testflight_beta_deploy_type_flag}
135133
elif [ -n "${team_name}" ] ; then
136-
deliver --team_name "${team_name}" ${CONFIG_package_type} "${CONFIG_package_path}" ${CONFIG_skip_screenshots_type_flag} ${CONFIG_skip_metadata_type_flag} --force ${CONFIG_testflight_beta_deploy_type_flag}
134+
set -x
135+
deliver --username "${itunescon_user}" --app "${app_id}" --team_name "${team_name}" ${CONFIG_package_type} "${CONFIG_package_path}" ${CONFIG_skip_screenshots_type_flag} ${CONFIG_skip_metadata_type_flag} --force ${CONFIG_testflight_beta_deploy_type_flag}
137136
else
138-
deliver ${CONFIG_package_type} "${CONFIG_package_path}" ${CONFIG_skip_screenshots_type_flag} ${CONFIG_skip_metadata_type_flag} --force ${CONFIG_testflight_beta_deploy_type_flag}
137+
set -x
138+
deliver --username "${itunescon_user}" --app "${app_id}" ${CONFIG_package_type} "${CONFIG_package_path}" ${CONFIG_skip_screenshots_type_flag} ${CONFIG_skip_metadata_type_flag} --force ${CONFIG_testflight_beta_deploy_type_flag}
139139
fi
140140
fail_if_cmd_error "Deploy failed!"
141+
set +x
141142

142143
write_section_to_formatted_output "# Success"
143144
echo_string_to_formatted_output "* The app (.ipa) was successfully uploaded to [iTunes Connect](https://itunesconnect.apple.com), you should see it in the *Prerelease* section on the app's iTunes Connect page!"

step.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ description: |-
2020
2121
## Setup guide and notes
2222
23-
* Register an app on iTunes Connect / TestFlight, on the **My Apps** page. Click on the *plus sign* and select the **New iOS App** option. This requires an **admin** account.
23+
* Register an app on iTunes Connect / TestFlight, on the **My Apps** page. Click on the *plus sign* and select the **New App** option. This requires an **admin** account.
2424
* Requires an **App Store iOS distibution Provisioning Profile**
2525
* Every build which you want to push to iTunes Connect / TestFlight have to have a **unique build and version number** pair (*increment either or both before a new deploy to iTunes Connect*)
2626
website: https://github.com/bitrise-io/steps-deploy-to-itunesconnect-deliver
@@ -85,29 +85,29 @@ inputs:
8585
The App's *Apple ID* on iTunes Connect.
8686
8787
Open the **App's page on iTunes Connect**,
88-
click on **More**, click on *About this app*,
88+
click on **App Information**, scroll down to the *General Information* section,
8989
copy the *Apple ID*'s value from here (numeric, like 846814360)
9090
is_required: true
9191
- submit_for_beta: "no"
9292
opts:
93-
title: "Submit for TestFlight Beta Testing?"
93+
title: "Submit for TestFlight External Testing?"
9494
summary: ""
9595
description: |
9696
Wait for the submission to be processed and then
97-
enable **TestFlight Beta Testing** for this specific version?
97+
enable **TestFlight External Testing** for this specific version?
9898
9999
If this option is disabled then this step won't wait
100100
for the new version to be processed on iTunes Connect
101-
and won't enable it for *TestFlight Beta Testing* automatically.
101+
and won't enable it for *TestFlight External Testing* automatically.
102102
103103
*Enabling this option will wait for the submission to be
104104
processed which might take a couple of minutes after the
105105
new version is deployed to iTunes Connect*.
106106
107107
**NOTE:** if this option is enabled then this step will
108-
fail if it can't enable TestFlight Beta Testing for the
108+
fail if it can't enable TestFlight External Testing for the
109109
version, even if the version was successfully uploaded
110-
to iTunes Connect and only the TestFlight Beta Testing
110+
to iTunes Connect and only the TestFlight External Testing
111111
submission failed.
112112
value_options: ["yes", "no"]
113113
is_required: true

0 commit comments

Comments
 (0)