fastlane/lib/fastlane/actions/appaloosa.rb in fastlane-2.82.0.beta.20180217010002 vs fastlane/lib/fastlane/actions/appaloosa.rb in fastlane-2.82.0.beta.20180218010003
- old
+ new
@@ -184,10 +184,11 @@
[
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',
@@ -202,10 +203,11 @@
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: 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),