183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
|
# File 'fastlane/lib/fastlane/actions/appaloosa.rb', line 183
def self.available_options
[
FastlaneCore::ConfigItem.new(key: :binary,
env_name: 'FL_APPALOOSA_BINARY',
description: 'Binary path. Optional for ipa if you use the `ipa` or `xcodebuild` action',
default_value: Actions.lane_context[SharedValues::IPA_OUTPUT_PATH],
default_value_dynamic: true,
verify_block: proc do |value|
UI.user_error!("Couldn't find ipa || apk file at path '#{value}'") unless File.exist?(value)
end),
FastlaneCore::ConfigItem.new(key: :api_token,
env_name: 'FL_APPALOOSA_API_TOKEN',
sensitive: true,
description: "Your API token"),
FastlaneCore::ConfigItem.new(key: :store_id,
env_name: 'FL_APPALOOSA_STORE_ID',
description: "Your Store id"),
FastlaneCore::ConfigItem.new(key: :group_ids,
env_name: 'FL_APPALOOSA_GROUPS',
description: 'Your app is limited to special users? Give us the group ids',
default_value: '',
optional: true),
FastlaneCore::ConfigItem.new(key: :screenshots,
env_name: 'FL_APPALOOSA_SCREENSHOTS',
description: 'Add some screenshots application to your store or hit [enter]',
default_value: Actions.lane_context[SharedValues::SNAPSHOT_SCREENSHOTS_PATH],
default_value_dynamic: true),
FastlaneCore::ConfigItem.new(key: :locale,
env_name: 'FL_APPALOOSA_LOCALE',
description: 'Select the folder locale for your screenshots',
default_value: 'en-US',
optional: true),
FastlaneCore::ConfigItem.new(key: :device,
env_name: 'FL_APPALOOSA_DEVICE',
description: 'Select the device format for your screenshots',
optional: true),
FastlaneCore::ConfigItem.new(key: :description,
env_name: 'FL_APPALOOSA_DESCRIPTION',
description: 'Your app description',
optional: true),
FastlaneCore::ConfigItem.new(key: :changelog,
env_name: 'FL_APPALOOSA_CHANGELOG',
description: 'Your app changelog',
optional: true)
]
end
|