fastlane/lib/fastlane/actions/update_project_provisioning.rb in fastlane-2.48.0.beta.20170721010003 vs fastlane/lib/fastlane/actions/update_project_provisioning.rb in fastlane-2.48.0.beta.20170722010002
- old
+ new
@@ -106,18 +106,26 @@
UI.user_error!("Path to provisioning profile is invalid") unless File.exist?(value)
end),
FastlaneCore::ConfigItem.new(key: :target_filter,
env_name: "FL_PROJECT_PROVISIONING_PROFILE_TARGET_FILTER",
description: "A filter for the target name. Use a standard regex",
- optional: true),
+ optional: true,
+ is_string: false,
+ verify_block: proc do |value|
+ UI.user_error!("target_filter should be Regexp or String") unless [Regexp, String].any? { |type| value.kind_of?(type) }
+ end),
FastlaneCore::ConfigItem.new(key: :build_configuration_filter,
env_name: "FL_PROJECT_PROVISIONING_PROFILE_FILTER",
description: "Legacy option, use 'target_filter' instead",
optional: true),
FastlaneCore::ConfigItem.new(key: :build_configuration,
env_name: "FL_PROJECT_PROVISIONING_PROFILE_BUILD_CONFIGURATION",
description: "A filter for the build configuration name. Use a standard regex. Applied to all configurations if not specified",
- optional: true),
+ optional: true,
+ is_string: false,
+ verify_block: proc do |value|
+ UI.user_error!("build_configuration should be Regexp or String") unless [Regexp, String].any? { |type| value.kind_of?(type) }
+ end),
FastlaneCore::ConfigItem.new(key: :certificate,
env_name: "FL_PROJECT_PROVISIONING_CERTIFICATE_PATH",
description: "Path to apple root certificate",
default_value: "/tmp/AppleIncRootCertificate.cer")
]