Skip to content

Commit 0a722c2

Browse files
authored
step definition update (#42)
1 parent 0c98b64 commit 0a722c2

File tree

1 file changed

+75
-119
lines changed

1 file changed

+75
-119
lines changed

step.yml

Lines changed: 75 additions & 119 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,14 @@
1-
title: "Deploy to iTunes Connect / TestFlight (with Deliver)"
2-
summary: Upload the archive to iTunes Connect / TestFlight and you can also submit it for review.
1+
title: "Deploy to iTunes Connect"
2+
summary: Upload screenshots, metadata and binaries to [iTunes Connect](https://itunesconnect.apple.com/) and submit your app for App Store review.
33
description: |-
4-
Deploy to iTunes Connect / TestFlight, using the
5-
fantastic [Deliver](https://github.com/fastlane/fastlane/tree/master/deliver)
6-
Ruby gem.
7-
8-
**If this is the very first build** of the app
9-
you try to deploy to iTunes Connect / TestFlight then you might want to upload the first
10-
build manually to make sure it fulfills the initial iTunes Connect / TestFlight submission
11-
verification process.
12-
13-
**Be advised** that this
14-
step uses a well maintained, open source tool which
15-
uses *undocumented and unsupported APIs* (because the current
16-
iTunes Connect / TestFlight platform does not have a documented and supported API)
17-
to perform the deployment.
18-
This means that when the API changes
19-
**this step might fail until the tool is updated**.
20-
21-
## Setup guide and notes
22-
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.
24-
* Requires an **App Store iOS distibution Provisioning Profile**
25-
* 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*)
4+
Upload screenshots, metadata and binaries to [iTunes Connect](https://itunesconnect.apple.com/) and submit your app for App Store review,
5+
using the fantastic [deliver](https://docs.fastlane.tools/actions/deliver/) fastlane action.
6+
7+
Setup guide and notes:
8+
9+
* Register an app on iTunes Connect, on the **My Apps** page. Click on the *plus sign* and select the **New App** option. This requires an **admin** account.
10+
* Requires an app signed with **App Store iOS distibution Provisioning Profile**.
11+
* Every build which you want to push to iTunes Connect have to have a **unique build and version number** pair (*increment either or both before a new deploy to iTunes Connect*).
2612
website: https://github.com/bitrise-io/steps-deploy-to-itunesconnect-deliver
2713
source_code_url: https://github.com/bitrise-io/steps-deploy-to-itunesconnect-deliver
2814
support_url: https://github.com/bitrise-io/steps-deploy-to-itunesconnect-deliver/issues
@@ -53,75 +39,83 @@ inputs:
5339
- ipa_path: "$BITRISE_IPA_PATH"
5440
opts:
5541
title: "IPA path"
56-
summary: ""
5742
description: |-
58-
Path of the IPA file, to be deployed to iTunes Connect
43+
Path to your IPA file, to be deployed.
44+
45+
**NOTE:** This input or `PKG path` is required.
5946
- pkg_path: "$BITRISE_PKG_PATH"
6047
opts:
6148
title: "PKG path"
62-
summary: ""
6349
description: |-
64-
Path of the PKG file, to be deployed to iTunes Connect
50+
Path to your PKG file, to be deployed.
51+
52+
**NOTE:** This input or `IPA path` is required.
53+
- platform: "ios"
54+
opts:
55+
title: "Platform"
56+
description: The platform will be delivered to iTunes Connect.
57+
is_required: true
58+
value_options:
59+
- "ios"
60+
- "osx"
61+
- "appletvos"
6562
- itunescon_user: ""
6663
opts:
67-
title: "iTunes Connect: User Apple ID (email)"
68-
summary: ""
69-
description: |-
70-
Login Apple ID (email) for the iTunes Connect site.
71-
72-
*Make sure that this email is verified,
73-
your Apple ID cannot be used until you verify it
74-
on Apple's website!*
64+
title: "Apple ID"
65+
description: Login Apple ID for the iTunes Connect site.
7566
is_required: true
7667
- password: ""
7768
opts:
78-
title: "iTunes Connect: Password"
79-
summary: ""
80-
description: |-
81-
Password for the specified User Apple ID.
82-
83-
**Note:** if your password
84-
contains special characters
85-
and you experience problems, please
86-
consider changing your password
87-
to something with only
88-
alphanumeric characters.
69+
title: "Password"
70+
description: Password for the specified Apple ID.
8971
is_required: true
9072
- app_password: ""
9173
opts:
92-
title: "iTunes Connect: Application Specific Password"
93-
summary: ""
74+
title: "Application Specific Password"
9475
description: |-
95-
an Application specific password for the Apple ID.
76+
An Application specific password for the Apple ID.
9677
97-
**Note:** Application specific passwords can be created on the
78+
**NOTE:** Application specific passwords can be created on the
9879
[AppleID Website](https://appleid.apple.com). It can be used to
9980
surpass Two Factor Authentication.
10081
is_required: false
82+
- team_id: ""
83+
opts:
84+
title: "Team ID"
85+
description: |-
86+
The App's *Team ID* on iTunes Connect.
87+
88+
**NOTE:** This field or `Team name` is required when using iTunes Connect account
89+
linked to multiple publish team.
90+
- team_name: ""
91+
opts:
92+
title: "Team name"
93+
description: |-
94+
The App's *Team Name* on iTunes Connect.
95+
96+
**NOTE:** This field or `Team ID` is required when using iTunes Connect account
97+
linked to multiple publish team.
10198
- app_id: ""
10299
opts:
103-
title: "iTunes Connect: App Apple ID"
104-
summary: ""
100+
title: "App Apple ID"
105101
description: |-
106102
The App's *Apple ID* on iTunes Connect.
107103
108-
This input or `bundle_id` is required
104+
**NOTE:** This input or `App Bundle ID` is required.
109105
110-
Open the **App's page on iTunes Connect**,
111-
click on **App Information**, scroll down to the *General Information* section,
112-
copy the *Apple ID*'s value from here (numeric, like 846814360)
106+
Open the **App's page on iTunes Connect**, click on **App Information**,
107+
scroll down to the *General Information* section,
108+
copy the *Apple ID*'s value from here (numeric, like 846814360).
113109
- bundle_id: ""
114110
opts:
115-
title: "iTunes Connect: App Bundle ID"
116-
summary: ""
111+
title: "App Bundle ID"
117112
description: |-
118113
The App's *Bundle ID* on iTunes Connect.
119114
120-
This input or app_id is required
115+
**NOTE:** This input or `App Apple ID` is required.
121116
- submit_for_review: "no"
122117
opts:
123118
title: "Submit for Review?"
124-
summary: ""
125119
description: |
126120
Wait for the submission to be processed and then
127121
submit the app for review for this specific version?
@@ -139,87 +133,49 @@ inputs:
139133
to iTunes Connect and only the review submission failed.
140134
value_options: ["yes", "no"]
141135
is_required: true
142-
is_expand: false
143136
- skip_metadata: "yes"
144137
opts:
145138
title: "Skip Metadata?"
146-
summary: ""
147-
description: |
148-
Flag to skip uploading the appstore metadata.
139+
description: Don't upload the metadata. This will still upload screenshots.
149140
value_options: ["yes", "no"]
150141
is_required: true
151-
is_expand: false
152142
- skip_screenshots: "yes"
153143
opts:
154144
title: "Skip Screenshots?"
155-
summary: ""
156-
description: |
157-
Flag to skip uploading changes to appstore screenshots.
145+
description: Don't upload the screenshots.
158146
value_options: ["yes", "no"]
159147
is_required: true
160-
is_expand: false
161-
- team_id: ""
162-
opts:
163-
title: "iTunes Connect: Team ID"
164-
summary: ""
165-
description: |-
166-
The App's *Team ID* on iTunes Connect.
167-
168-
This field is required when using iTunes Connect account
169-
linked to multiple publish team.
170-
171-
Use this input or `team_name` to specify the team.
172-
- team_name: ""
148+
- gemfile_path: ./Gemfile
173149
opts:
174-
title: "iTunes Connect: Team name"
175-
summary: ""
176-
description: |-
177-
The App's *Team Name* on iTunes Connect.
178-
179-
This field is required when using iTunes Connect account
180-
linked to multiple publish team.
150+
category: Debug
151+
title: "Gemfile path"
152+
description: |
153+
Path to the `Gemfile` which contains `fastlane` gem.
181154
182-
Use this input or `team_id` to specify the team.
183-
- platform: "ios"
155+
If `Gemfile` not exist or does not contain fastlane gem and
156+
if `fastlane version` input not specified, latest fastlen version will be used.
157+
- fastlane_version: "latest"
184158
opts:
185-
title: "Platform"
186-
summary: ""
159+
category: Debug
160+
title: "fastlane version"
187161
description: |-
188-
The platform will be delivered to iTunes Connect.
189-
is_required: true
190-
value_options:
191-
- "ios"
192-
- "osx"
193-
- "appletvos"
162+
This option lets you specify a specific version of the `fastlane` gem to be installed.
194163
- options:
195164
opts:
165+
category: Debug
196166
title: " Additional options for `deliver` call"
197-
summary: ""
198167
description: |-
199168
Options added to the end of the `deliver` call.
200169
201170
If you want to add more options, list that separated by space character.
171+
202172
Example: `--skip_metadata --skip_screenshots`
203-
- gemfile_path: ./Gemfile
204-
opts:
205-
title: "Gemfile path"
206-
description: |
207-
Path to the Gemfile which contains `fastlane` gem.
208-
209-
If Gemfile not exist or does not contain fastlane gem:
210-
211-
- if `fastlane_version` input not specified, latest version will be used
212-
- fastlane_version: "latest"
213-
opts:
214-
title: "Fastlane version"
215-
summary: "Install a specific version of the `fastlane` gem."
216-
description: |-
217-
This option lets you specify a specific version of the `fastlane` gem to be installed.
218173
- itms_upload_parameters: "-t DAV"
219174
opts:
220-
title: "DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS configuration"
221-
summary: "Configure the protocol used to upload binaries"
175+
category: Debug
176+
title: "Transporter delivery method"
222177
description: |-
223-
deliver uses the iTunes Transporter to upload metadata and binaries. This variable allows you to change the protocol variables used to upload the files.
178+
`deliver` uses the iTunes Transporter to upload metadata and binaries.
179+
In case you are behind a firewall, you can specify a different transporter protocol using this input.
224180
225-
outputs: []
181+
Read more on Apple [Transporter User Guide](https://help.apple.com/itc/transporteruserguide/#/apdATD1E1288-D1E1A1303-D1E1288A1126).

0 commit comments

Comments
 (0)