fastlane_hotfix 2.165.1 → 2.187.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +106 -86
- data/cert/lib/cert/commands_generator.rb +2 -1
- data/cert/lib/cert/options.rb +6 -5
- data/cert/lib/cert/runner.rb +8 -8
- data/deliver/lib/assets/summary.html.erb +10 -10
- data/deliver/lib/deliver/app_screenshot.rb +17 -11
- data/deliver/lib/deliver/app_screenshot_validator.rb +108 -0
- data/deliver/lib/deliver/commands_generator.rb +4 -3
- data/deliver/lib/deliver/detect_values.rb +5 -3
- data/deliver/lib/deliver/download_screenshots.rb +2 -3
- data/deliver/lib/deliver/html_generator.rb +2 -2
- data/deliver/lib/deliver/languages.rb +1 -1
- data/deliver/lib/deliver/loader.rb +123 -21
- data/deliver/lib/deliver/module.rb +6 -0
- data/deliver/lib/deliver/options.rb +41 -55
- data/deliver/lib/deliver/runner.rb +19 -14
- data/deliver/lib/deliver/setup.rb +9 -5
- data/deliver/lib/deliver/submit_for_review.rb +4 -4
- data/deliver/lib/deliver/upload_metadata.rb +32 -21
- data/deliver/lib/deliver/upload_price_tier.rb +1 -1
- data/deliver/lib/deliver/upload_screenshots.rb +14 -76
- data/fastlane/lib/fastlane/actions/actions_helper.rb +3 -3
- data/fastlane/lib/fastlane/actions/adb.rb +2 -5
- data/fastlane/lib/fastlane/actions/adb_devices.rb +0 -1
- data/fastlane/lib/fastlane/actions/add_git_tag.rb +22 -6
- data/fastlane/lib/fastlane/actions/app_store_build_number.rb +17 -17
- data/fastlane/lib/fastlane/actions/app_store_connect_api_key.rb +21 -7
- data/fastlane/lib/fastlane/actions/appaloosa.rb +7 -2
- data/fastlane/lib/fastlane/actions/appetize.rb +13 -8
- data/fastlane/lib/fastlane/actions/appetize_viewing_url_generator.rb +0 -11
- data/fastlane/lib/fastlane/actions/appium.rb +40 -65
- data/fastlane/lib/fastlane/actions/appledoc.rb +46 -46
- data/fastlane/lib/fastlane/actions/apteligent.rb +3 -2
- data/fastlane/lib/fastlane/actions/artifactory.rb +41 -9
- data/fastlane/lib/fastlane/actions/automatic_code_signing.rb +7 -13
- data/fastlane/lib/fastlane/actions/backup_file.rb +1 -1
- data/fastlane/lib/fastlane/actions/backup_xcarchive.rb +3 -3
- data/fastlane/lib/fastlane/actions/badge.rb +9 -13
- data/fastlane/lib/fastlane/actions/build_and_upload_to_appetize.rb +11 -5
- data/fastlane/lib/fastlane/actions/build_app.rb +7 -1
- data/fastlane/lib/fastlane/actions/bundle_install.rb +8 -10
- data/fastlane/lib/fastlane/actions/carthage.rb +22 -14
- data/fastlane/lib/fastlane/actions/changelog_from_git_commits.rb +8 -17
- data/fastlane/lib/fastlane/actions/chatwork.rb +3 -2
- data/fastlane/lib/fastlane/actions/check_app_store_metadata.rb +9 -1
- data/fastlane/lib/fastlane/actions/clean_build_artifacts.rb +0 -1
- data/fastlane/lib/fastlane/actions/clean_cocoapods_cache.rb +0 -1
- data/fastlane/lib/fastlane/actions/clipboard.rb +3 -6
- data/fastlane/lib/fastlane/actions/cloc.rb +9 -13
- data/fastlane/lib/fastlane/actions/cocoapods.rb +23 -15
- data/fastlane/lib/fastlane/actions/commit_github_file.rb +12 -4
- data/fastlane/lib/fastlane/actions/commit_version_bump.rb +6 -7
- data/fastlane/lib/fastlane/actions/copy_artifacts.rb +3 -4
- data/fastlane/lib/fastlane/actions/crashlytics.rb +7 -11
- data/fastlane/lib/fastlane/actions/create_app_on_managed_play_store.rb +70 -76
- data/fastlane/lib/fastlane/actions/create_keychain.rb +13 -11
- data/fastlane/lib/fastlane/actions/create_pull_request.rb +15 -9
- data/fastlane/lib/fastlane/actions/create_xcframework.rb +123 -0
- data/fastlane/lib/fastlane/actions/danger.rb +13 -12
- data/fastlane/lib/fastlane/actions/deploygate.rb +1 -2
- data/fastlane/lib/fastlane/actions/docs/build_app.md +1 -1
- data/fastlane/lib/fastlane/actions/docs/capture_android_screenshots.md +27 -28
- data/fastlane/lib/fastlane/actions/docs/capture_ios_screenshots.md +7 -3
- data/fastlane/lib/fastlane/actions/docs/create_app_online.md +171 -67
- data/fastlane/lib/fastlane/actions/docs/frame_screenshots.md +20 -3
- data/fastlane/lib/fastlane/actions/docs/sync_code_signing.md +9 -3
- data/fastlane/lib/fastlane/actions/docs/upload_to_app_store.md.erb +39 -16
- data/fastlane/lib/fastlane/actions/docs/upload_to_play_store.md +2 -1
- data/fastlane/lib/fastlane/actions/docs/upload_to_testflight.md +15 -5
- data/fastlane/lib/fastlane/actions/download_app_privacy_details_from_app_store.rb +142 -0
- data/fastlane/lib/fastlane/actions/download_dsyms.rb +8 -20
- data/fastlane/lib/fastlane/actions/dsym_zip.rb +1 -1
- data/fastlane/lib/fastlane/actions/ensure_env_vars.rb +2 -6
- data/fastlane/lib/fastlane/actions/ensure_git_branch.rb +0 -1
- data/fastlane/lib/fastlane/actions/ensure_git_status_clean.rb +3 -4
- data/fastlane/lib/fastlane/actions/ensure_no_debug_code.rb +3 -5
- data/fastlane/lib/fastlane/actions/ensure_xcode_version.rb +1 -2
- data/fastlane/lib/fastlane/actions/environment_variable.rb +13 -21
- data/fastlane/lib/fastlane/actions/erb.rb +2 -5
- data/fastlane/lib/fastlane/actions/get_build_number_repository.rb +1 -1
- data/fastlane/lib/fastlane/actions/get_certificates.rb +5 -1
- data/fastlane/lib/fastlane/actions/get_github_release.rb +11 -1
- data/fastlane/lib/fastlane/actions/get_ipa_info_plist_value.rb +0 -1
- data/fastlane/lib/fastlane/actions/get_managed_play_store_publishing_rights.rb +32 -35
- data/fastlane/lib/fastlane/actions/get_provisioning_profile.rb +9 -1
- data/fastlane/lib/fastlane/actions/get_push_certificate.rb +1 -1
- data/fastlane/lib/fastlane/actions/get_version_number.rb +17 -10
- data/fastlane/lib/fastlane/actions/git_add.rb +5 -10
- data/fastlane/lib/fastlane/actions/git_branch.rb +4 -10
- data/fastlane/lib/fastlane/actions/git_commit.rb +12 -10
- data/fastlane/lib/fastlane/actions/git_pull.rb +4 -10
- data/fastlane/lib/fastlane/actions/git_remote_branch.rb +57 -0
- data/fastlane/lib/fastlane/actions/git_submodule_update.rb +16 -8
- data/fastlane/lib/fastlane/actions/git_tag_exists.rb +4 -0
- data/fastlane/lib/fastlane/actions/github_api.rb +17 -8
- data/fastlane/lib/fastlane/actions/gradle.rb +12 -20
- data/fastlane/lib/fastlane/actions/hg_commit_version_bump.rb +1 -1
- data/fastlane/lib/fastlane/actions/hg_push.rb +1 -1
- data/fastlane/lib/fastlane/actions/hipchat.rb +6 -6
- data/fastlane/lib/fastlane/actions/hockey.rb +5 -12
- data/fastlane/lib/fastlane/actions/ifttt.rb +3 -6
- data/fastlane/lib/fastlane/actions/import_from_git.rb +7 -9
- data/fastlane/lib/fastlane/actions/increment_build_number.rb +8 -2
- data/fastlane/lib/fastlane/actions/install_on_device.rb +3 -6
- data/fastlane/lib/fastlane/actions/install_provisioning_profile.rb +4 -0
- data/fastlane/lib/fastlane/actions/installr.rb +22 -25
- data/fastlane/lib/fastlane/actions/ipa.rb +2 -2
- data/fastlane/lib/fastlane/actions/jazzy.rb +11 -8
- data/fastlane/lib/fastlane/actions/jira.rb +61 -14
- data/fastlane/lib/fastlane/actions/latest_testflight_build_number.rb +6 -6
- data/fastlane/lib/fastlane/actions/lcov.rb +0 -4
- data/fastlane/lib/fastlane/actions/mailgun.rb +21 -27
- data/fastlane/lib/fastlane/actions/make_changelog_from_jenkins.rb +1 -1
- data/fastlane/lib/fastlane/actions/match_nuke.rb +59 -0
- data/fastlane/lib/fastlane/actions/modify_services.rb +59 -24
- data/fastlane/lib/fastlane/actions/nexus_upload.rb +3 -2
- data/fastlane/lib/fastlane/actions/notarize.rb +98 -54
- data/fastlane/lib/fastlane/actions/notification.rb +1 -1
- data/fastlane/lib/fastlane/actions/number_of_commits.rb +1 -1
- data/fastlane/lib/fastlane/actions/oclint.rb +15 -14
- data/fastlane/lib/fastlane/actions/onesignal.rb +13 -3
- data/fastlane/lib/fastlane/actions/pod_push.rb +9 -2
- data/fastlane/lib/fastlane/actions/podio_item.rb +0 -7
- data/fastlane/lib/fastlane/actions/prompt.rb +3 -4
- data/fastlane/lib/fastlane/actions/push_git_tags.rb +1 -1
- data/fastlane/lib/fastlane/actions/push_to_git_remote.rb +14 -3
- data/fastlane/lib/fastlane/actions/puts.rb +1 -2
- data/fastlane/lib/fastlane/actions/register_device.rb +10 -13
- data/fastlane/lib/fastlane/actions/register_devices.rb +11 -14
- data/fastlane/lib/fastlane/actions/reset_git_repo.rb +5 -8
- data/fastlane/lib/fastlane/actions/reset_simulator_contents.rb +0 -2
- data/fastlane/lib/fastlane/actions/resign.rb +2 -9
- data/fastlane/lib/fastlane/actions/restore_file.rb +1 -1
- data/fastlane/lib/fastlane/actions/rsync.rb +3 -6
- data/fastlane/lib/fastlane/actions/run_tests.rb +1 -1
- data/fastlane/lib/fastlane/actions/s3.rb +1 -1
- data/fastlane/lib/fastlane/actions/say.rb +2 -3
- data/fastlane/lib/fastlane/actions/scp.rb +4 -10
- data/fastlane/lib/fastlane/actions/set_build_number_repository.rb +1 -1
- data/fastlane/lib/fastlane/actions/set_changelog.rb +10 -13
- data/fastlane/lib/fastlane/actions/set_github_release.rb +23 -16
- data/fastlane/lib/fastlane/actions/set_info_plist_value.rb +1 -1
- data/fastlane/lib/fastlane/actions/set_pod_key.rb +3 -4
- data/fastlane/lib/fastlane/actions/setup_ci.rb +1 -2
- data/fastlane/lib/fastlane/actions/setup_circle_ci.rb +1 -1
- data/fastlane/lib/fastlane/actions/setup_jenkins.rb +7 -12
- data/fastlane/lib/fastlane/actions/setup_travis.rb +1 -1
- data/fastlane/lib/fastlane/actions/sh.rb +2 -4
- data/fastlane/lib/fastlane/actions/slack.rb +164 -145
- data/fastlane/lib/fastlane/actions/slather.rb +5 -21
- data/fastlane/lib/fastlane/actions/sonar.rb +12 -19
- data/fastlane/lib/fastlane/actions/sourcedocs.rb +128 -0
- data/fastlane/lib/fastlane/actions/spaceship_logs.rb +1 -1
- data/fastlane/lib/fastlane/actions/splunkmint.rb +2 -2
- data/fastlane/lib/fastlane/actions/spm.rb +8 -2
- data/fastlane/lib/fastlane/actions/ssh.rb +5 -10
- data/fastlane/lib/fastlane/actions/swiftlint.rb +21 -19
- data/fastlane/lib/fastlane/actions/sync_code_signing.rb +6 -1
- data/fastlane/lib/fastlane/actions/testfairy.rb +0 -1
- data/fastlane/lib/fastlane/actions/tryouts.rb +2 -3
- data/fastlane/lib/fastlane/actions/twitter.rb +0 -5
- data/fastlane/lib/fastlane/actions/unlock_keychain.rb +3 -3
- data/fastlane/lib/fastlane/actions/update_app_group_identifiers.rb +1 -4
- data/fastlane/lib/fastlane/actions/update_code_signing_settings.rb +8 -15
- data/fastlane/lib/fastlane/actions/update_fastlane.rb +31 -10
- data/fastlane/lib/fastlane/actions/update_icloud_container_identifiers.rb +1 -4
- data/fastlane/lib/fastlane/actions/update_info_plist.rb +1 -1
- data/fastlane/lib/fastlane/actions/update_keychain_access_groups.rb +1 -4
- data/fastlane/lib/fastlane/actions/update_plist.rb +1 -1
- data/fastlane/lib/fastlane/actions/update_project_provisioning.rb +3 -4
- data/fastlane/lib/fastlane/actions/update_urban_airship_configuration.rb +0 -1
- data/fastlane/lib/fastlane/actions/update_url_schemes.rb +15 -26
- data/fastlane/lib/fastlane/actions/upload_app_privacy_details_to_app_store.rb +290 -0
- data/fastlane/lib/fastlane/actions/upload_symbols_to_crashlytics.rb +8 -7
- data/fastlane/lib/fastlane/actions/upload_symbols_to_sentry.rb +3 -10
- data/fastlane/lib/fastlane/actions/upload_to_app_store.rb +8 -4
- data/fastlane/lib/fastlane/actions/upload_to_testflight.rb +7 -2
- data/fastlane/lib/fastlane/actions/validate_play_store_json_key.rb +40 -44
- data/fastlane/lib/fastlane/actions/version_get_podspec.rb +1 -2
- data/fastlane/lib/fastlane/actions/xcode_install.rb +8 -5
- data/fastlane/lib/fastlane/actions/xcode_server_get_assets.rb +3 -3
- data/fastlane/lib/fastlane/actions/xcodebuild.rb +5 -5
- data/fastlane/lib/fastlane/cli_tools_distributor.rb +6 -3
- data/fastlane/lib/fastlane/commands_generator.rb +2 -1
- data/fastlane/lib/fastlane/documentation/actions_list.rb +2 -2
- data/fastlane/lib/fastlane/documentation/docs_generator.rb +1 -1
- data/fastlane/lib/fastlane/documentation/markdown_docs_generator.rb +1 -1
- data/fastlane/lib/fastlane/environment_printer.rb +1 -0
- data/fastlane/lib/fastlane/erb_template_helper.rb +7 -1
- data/fastlane/lib/fastlane/fast_file.rb +19 -7
- data/fastlane/lib/fastlane/fastlane_require.rb +7 -1
- data/fastlane/lib/fastlane/features.rb +1 -1
- data/fastlane/lib/fastlane/helper/adb_helper.rb +1 -1
- data/fastlane/lib/fastlane/helper/crashlytics_helper.rb +4 -4
- data/fastlane/lib/fastlane/helper/gem_helper.rb +2 -2
- data/fastlane/lib/fastlane/helper/git_helper.rb +34 -5
- data/fastlane/lib/fastlane/lane_manager.rb +3 -2
- data/fastlane/lib/fastlane/notification/slack.rb +56 -0
- data/fastlane/lib/fastlane/plugins/plugin_fetcher.rb +1 -2
- data/fastlane/lib/fastlane/plugins/plugin_info.rb +2 -2
- data/fastlane/lib/fastlane/plugins/plugin_info_collector.rb +1 -2
- data/fastlane/lib/fastlane/plugins/plugin_manager.rb +2 -3
- data/fastlane/lib/fastlane/plugins/template/%gem_name%.gemspec.erb +7 -6
- data/fastlane/lib/fastlane/plugins/template/.circleci/config.yml +1 -1
- data/fastlane/lib/fastlane/plugins/template/.github/workflows/test.yml +1 -1
- data/fastlane/lib/fastlane/plugins/template/.rubocop.yml +31 -35
- data/fastlane/lib/fastlane/plugins/template/spec/spec_helper.rb.erb +1 -1
- data/fastlane/lib/fastlane/setup/setup.rb +23 -10
- data/fastlane/lib/fastlane/setup/setup_ios.rb +3 -3
- data/fastlane/lib/fastlane/swift_fastlane_api_generator.rb +3 -0
- data/fastlane/lib/fastlane/swift_fastlane_function.rb +44 -16
- data/fastlane/lib/fastlane/swift_runner_upgrader.rb +2 -0
- data/fastlane/lib/fastlane/version.rb +2 -2
- data/fastlane/swift/Actions.swift +1 -1
- data/fastlane/swift/Appfile.swift +1 -1
- data/fastlane/swift/ArgumentProcessor.swift +1 -1
- data/fastlane/swift/ControlCommand.swift +1 -1
- data/fastlane/swift/Deliverfile.swift +2 -2
- data/fastlane/swift/DeliverfileProtocol.swift +23 -23
- data/fastlane/swift/Fastfile.swift +1 -1
- data/fastlane/swift/Fastlane.swift +7965 -4213
- data/fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.pbxproj +4 -0
- data/fastlane/swift/Gymfile.swift +2 -2
- data/fastlane/swift/GymfileProtocol.swift +15 -3
- data/fastlane/swift/LaneFileProtocol.swift +12 -6
- data/fastlane/swift/MainProcess.swift +3 -1
- data/fastlane/swift/Matchfile.swift +2 -2
- data/fastlane/swift/MatchfileProtocol.swift +4 -4
- data/fastlane/swift/OptionalConfigValue.swift +101 -0
- data/fastlane/swift/Plugins.swift +1 -1
- data/fastlane/swift/Precheckfile.swift +2 -2
- data/fastlane/swift/PrecheckfileProtocol.swift +8 -4
- data/fastlane/swift/RubyCommand.swift +2 -2
- data/fastlane/swift/RubyCommandable.swift +1 -1
- data/fastlane/swift/Runner.swift +3 -3
- data/fastlane/swift/RunnerArgument.swift +1 -1
- data/fastlane/swift/Scanfile.swift +2 -2
- data/fastlane/swift/ScanfileProtocol.swift +34 -2
- data/fastlane/swift/Screengrabfile.swift +2 -2
- data/fastlane/swift/ScreengrabfileProtocol.swift +5 -5
- data/fastlane/swift/Snapshotfile.swift +2 -2
- data/fastlane/swift/SnapshotfileProtocol.swift +19 -3
- data/fastlane/swift/SocketClient.swift +4 -3
- data/fastlane/swift/SocketClientDelegateProtocol.swift +1 -1
- data/fastlane/swift/SocketResponse.swift +5 -3
- data/fastlane/swift/formatting/Brewfile.lock.json +24 -16
- data/fastlane/swift/main.swift +1 -1
- data/fastlane/swift/upgrade_manifest.json +1 -1
- data/fastlane_core/lib/fastlane_core.rb +22 -20
- data/fastlane_core/lib/fastlane_core/build_watcher.rb +89 -12
- data/fastlane_core/lib/fastlane_core/cert_checker.rb +12 -7
- data/fastlane_core/lib/fastlane_core/clipboard.rb +20 -0
- data/fastlane_core/lib/fastlane_core/command_executor.rb +3 -9
- data/fastlane_core/lib/fastlane_core/configuration/commander_generator.rb +6 -1
- data/fastlane_core/lib/fastlane_core/configuration/config_item.rb +41 -3
- data/fastlane_core/lib/fastlane_core/configuration/configuration.rb +14 -8
- data/fastlane_core/lib/fastlane_core/device_manager.rb +1 -1
- data/fastlane_core/lib/fastlane_core/helper.rb +78 -14
- data/fastlane_core/lib/fastlane_core/ipa_file_analyser.rb +41 -16
- data/fastlane_core/lib/fastlane_core/ipa_upload_package_builder.rb +3 -2
- data/fastlane_core/lib/fastlane_core/itunes_transporter.rb +20 -15
- data/fastlane_core/lib/fastlane_core/keychain_importer.rb +1 -1
- data/fastlane_core/lib/fastlane_core/languages.rb +2 -2
- data/fastlane_core/lib/fastlane_core/pkg_upload_package_builder.rb +3 -2
- data/fastlane_core/lib/fastlane_core/print_table.rb +5 -3
- data/fastlane_core/lib/fastlane_core/project.rb +48 -28
- data/fastlane_core/lib/fastlane_core/provisioning_profile.rb +3 -1
- data/{deliver/lib/deliver → fastlane_core/lib/fastlane_core}/queue_worker.rb +4 -4
- data/fastlane_core/lib/fastlane_core/swag.rb +1 -1
- data/fastlane_core/lib/fastlane_core/ui/disable_colors.rb +8 -0
- data/fastlane_core/lib/fastlane_core/ui/help.erb +35 -0
- data/fastlane_core/lib/fastlane_core/ui/help_formatter.rb +16 -0
- data/fastlane_core/lib/fastlane_core/ui/implementations/shell.rb +16 -2
- data/fastlane_core/lib/fastlane_core/ui/interface.rb +1 -1
- data/fastlane_core/lib/fastlane_core/update_checker/update_checker.rb +2 -2
- data/frameit/lib/frameit/commands_generator.rb +2 -1
- data/frameit/lib/frameit/config_parser.rb +2 -2
- data/frameit/lib/frameit/device_types.rb +7 -1
- data/frameit/lib/frameit/frame_downloader.rb +2 -1
- data/gym/lib/gym/code_signing_mapping.rb +3 -3
- data/gym/lib/gym/commands_generator.rb +2 -1
- data/gym/lib/gym/error_handler.rb +8 -0
- data/gym/lib/gym/generators/build_command_generator.rb +3 -0
- data/gym/lib/gym/generators/package_command_generator.rb +4 -0
- data/gym/lib/gym/generators/package_command_generator_xcode7.rb +21 -15
- data/gym/lib/gym/options.rb +19 -3
- data/gym/lib/gym/runner.rb +15 -4
- data/match/lib/match/change_password.rb +3 -3
- data/match/lib/match/commands_generator.rb +2 -1
- data/match/lib/match/encryption/interface.rb +1 -1
- data/match/lib/match/encryption/openssl.rb +5 -3
- data/match/lib/match/importer.rb +9 -10
- data/match/lib/match/migrate.rb +2 -3
- data/match/lib/match/module.rb +2 -1
- data/match/lib/match/nuke.rb +19 -15
- data/match/lib/match/options.rb +4 -3
- data/match/lib/match/runner.rb +3 -4
- data/match/lib/match/spaceship_ensure.rb +3 -0
- data/match/lib/match/storage/git_storage.rb +14 -10
- data/match/lib/match/storage/google_cloud_storage.rb +2 -2
- data/match/lib/match/storage/s3_storage.rb +2 -2
- data/pem/lib/pem/commands_generator.rb +2 -1
- data/pilot/lib/pilot.rb +0 -1
- data/pilot/lib/pilot/build_manager.rb +41 -15
- data/pilot/lib/pilot/commands_generator.rb +2 -1
- data/pilot/lib/pilot/manager.rb +11 -8
- data/pilot/lib/pilot/options.rb +18 -9
- data/pilot/lib/pilot/tester_exporter.rb +0 -1
- data/pilot/lib/pilot/tester_manager.rb +0 -1
- data/precheck/lib/precheck/commands_generator.rb +2 -1
- data/precheck/lib/precheck/options.rb +9 -3
- data/precheck/lib/precheck/rule_processor.rb +1 -1
- data/precheck/lib/precheck/runner.rb +14 -9
- data/produce/lib/produce/commands_generator.rb +101 -28
- data/produce/lib/produce/developer_center.rb +42 -4
- data/produce/lib/produce/options.rb +1 -1
- data/produce/lib/produce/service.rb +270 -179
- data/scan/lib/scan/commands_generator.rb +2 -1
- data/scan/lib/scan/detect_values.rb +7 -2
- data/scan/lib/scan/module.rb +4 -0
- data/scan/lib/scan/options.rb +46 -1
- data/scan/lib/scan/runner.rb +88 -3
- data/scan/lib/scan/slack_poster.rb +4 -1
- data/scan/lib/scan/test_command_generator.rb +13 -8
- data/screengrab/lib/screengrab/android_environment.rb +5 -53
- data/screengrab/lib/screengrab/commands_generator.rb +2 -1
- data/screengrab/lib/screengrab/dependency_checker.rb +0 -20
- data/screengrab/lib/screengrab/options.rb +5 -2
- data/screengrab/lib/screengrab/runner.rb +111 -108
- data/sigh/lib/assets/resign.sh +81 -61
- data/sigh/lib/sigh/commands_generator.rb +2 -1
- data/sigh/lib/sigh/download_all.rb +4 -8
- data/sigh/lib/sigh/options.rb +3 -2
- data/sigh/lib/sigh/runner.rb +9 -9
- data/snapshot/lib/assets/SnapfileTemplate +3 -2
- data/snapshot/lib/assets/SnapfileTemplate.swift +2 -1
- data/snapshot/lib/assets/SnapshotHelper.swift +20 -12
- data/snapshot/lib/snapshot/commands_generator.rb +3 -1
- data/snapshot/lib/snapshot/options.rb +22 -2
- data/snapshot/lib/snapshot/reports_generator.rb +7 -1
- data/snapshot/lib/snapshot/simulator_launchers/launcher_configuration.rb +2 -0
- data/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb +1 -1
- data/snapshot/lib/snapshot/simulator_launchers/simulator_launcher_base.rb +10 -5
- data/snapshot/lib/snapshot/test_command_generator.rb +18 -4
- data/snapshot/lib/snapshot/test_command_generator_base.rb +3 -1
- data/snapshot/lib/snapshot/test_command_generator_xcode_8.rb +1 -1
- data/snapshot/lib/snapshot/update.rb +1 -1
- data/spaceship/README.md +4 -14
- data/spaceship/lib/spaceship/base.rb +2 -2
- data/spaceship/lib/spaceship/client.rb +47 -29
- data/spaceship/lib/spaceship/commands_generator.rb +4 -2
- data/spaceship/lib/spaceship/connect_api.rb +6 -0
- data/spaceship/lib/spaceship/connect_api/api_client.rb +67 -9
- data/spaceship/lib/spaceship/connect_api/model.rb +1 -1
- data/spaceship/lib/spaceship/connect_api/models/age_rating_declaration.rb +39 -6
- data/spaceship/lib/spaceship/connect_api/models/app.rb +95 -55
- data/spaceship/lib/spaceship/connect_api/models/app_data_usage.rb +59 -0
- data/spaceship/lib/spaceship/connect_api/models/app_data_usage_category.rb +65 -0
- data/spaceship/lib/spaceship/connect_api/models/app_data_usage_data_protection.rb +27 -0
- data/spaceship/lib/spaceship/connect_api/models/app_data_usage_grouping.rb +18 -0
- data/spaceship/lib/spaceship/connect_api/models/app_data_usage_purposes.rb +37 -0
- data/spaceship/lib/spaceship/connect_api/models/app_data_usages_publish_state.rb +36 -0
- data/spaceship/lib/spaceship/connect_api/models/app_info.rb +26 -10
- data/spaceship/lib/spaceship/connect_api/models/app_info_localization.rb +8 -4
- data/spaceship/lib/spaceship/connect_api/models/app_preview.rb +15 -11
- data/spaceship/lib/spaceship/connect_api/models/app_preview_set.rb +18 -9
- data/spaceship/lib/spaceship/connect_api/models/app_screenshot.rb +10 -8
- data/spaceship/lib/spaceship/connect_api/models/app_screenshot_set.rb +20 -11
- data/spaceship/lib/spaceship/connect_api/models/app_store_review_attachment.rb +7 -5
- data/spaceship/lib/spaceship/connect_api/models/app_store_review_detail.rb +6 -4
- data/spaceship/lib/spaceship/connect_api/models/app_store_version.rb +62 -38
- data/spaceship/lib/spaceship/connect_api/models/app_store_version_localization.rb +27 -14
- data/spaceship/lib/spaceship/connect_api/models/app_store_version_submission.rb +3 -2
- data/spaceship/lib/spaceship/connect_api/models/beta_app_review_submission.rb +3 -2
- data/spaceship/lib/spaceship/connect_api/models/beta_feedback.rb +6 -4
- data/spaceship/lib/spaceship/connect_api/models/beta_group.rb +29 -3
- data/spaceship/lib/spaceship/connect_api/models/beta_tester.rb +15 -9
- data/spaceship/lib/spaceship/connect_api/models/build.rb +34 -17
- data/spaceship/lib/spaceship/connect_api/models/build_beta_detail.rb +4 -0
- data/spaceship/lib/spaceship/connect_api/models/build_delivery.rb +3 -2
- data/spaceship/lib/spaceship/connect_api/models/bundle_id.rb +41 -6
- data/spaceship/lib/spaceship/connect_api/models/bundle_id_capability.rb +86 -21
- data/spaceship/lib/spaceship/connect_api/models/certificate.rb +12 -8
- data/spaceship/lib/spaceship/connect_api/models/device.rb +36 -4
- data/spaceship/lib/spaceship/connect_api/models/idfa_declaration.rb +6 -4
- data/spaceship/lib/spaceship/connect_api/models/profile.rb +18 -8
- data/spaceship/lib/spaceship/connect_api/models/reset_ratings_request.rb +3 -2
- data/spaceship/lib/spaceship/connect_api/models/sandbox_tester.rb +9 -6
- data/spaceship/lib/spaceship/connect_api/models/territory.rb +3 -2
- data/spaceship/lib/spaceship/connect_api/models/user.rb +6 -4
- data/spaceship/lib/spaceship/connect_api/models/user_invitation.rb +22 -6
- data/spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb +99 -2
- data/spaceship/lib/spaceship/connect_api/response.rb +3 -1
- data/spaceship/lib/spaceship/connect_api/testflight/testflight.rb +50 -0
- data/spaceship/lib/spaceship/connect_api/token.rb +15 -3
- data/spaceship/lib/spaceship/connect_api/tunes/tunes.rb +122 -2
- data/spaceship/lib/spaceship/errors.rb +19 -0
- data/spaceship/lib/spaceship/playground.rb +2 -2
- data/spaceship/lib/spaceship/spaceauth_runner.rb +38 -15
- data/spaceship/lib/spaceship/tunes/iap_detail.rb +1 -1
- data/spaceship/lib/spaceship/tunes/members.rb +1 -1
- data/spaceship/lib/spaceship/tunes/tunes_client.rb +4 -4
- data/spaceship/lib/spaceship/two_step_or_factor_client.rb +59 -33
- data/spaceship/lib/spaceship/ui.rb +2 -2
- data/spaceship/lib/spaceship/upgrade_2fa_later_client.rb +91 -0
- data/supply/lib/supply.rb +1 -1
- data/supply/lib/supply/client.rb +5 -3
- data/supply/lib/supply/commands_generator.rb +2 -1
- data/supply/lib/supply/options.rb +3 -3
- data/supply/lib/supply/uploader.rb +6 -4
- metadata +125 -93
- data/pilot/lib/pilot/features.rb +0 -0
- data/pilot/lib/pilot/tester_util.rb +0 -0
@@ -53,18 +53,15 @@ module Fastlane
|
|
53
53
|
FastlaneCore::ConfigItem.new(key: :value1,
|
54
54
|
env_name: "IFTTT_VALUE1",
|
55
55
|
description: "Extra data sent with the event",
|
56
|
-
optional: true,
|
57
|
-
is_string: true),
|
56
|
+
optional: true),
|
58
57
|
FastlaneCore::ConfigItem.new(key: :value2,
|
59
58
|
env_name: "IFTTT_VALUE2",
|
60
59
|
description: "Extra data sent with the event",
|
61
|
-
optional: true,
|
62
|
-
is_string: true),
|
60
|
+
optional: true),
|
63
61
|
FastlaneCore::ConfigItem.new(key: :value3,
|
64
62
|
env_name: "IFTTT_VALUE3",
|
65
63
|
description: "Extra data sent with the event",
|
66
|
-
optional: true
|
67
|
-
is_string: true)
|
64
|
+
optional: true)
|
68
65
|
]
|
69
66
|
end
|
70
67
|
|
@@ -24,7 +24,7 @@ module Fastlane
|
|
24
24
|
# `conflicting_options`, `verify_block`) are completely ignored.
|
25
25
|
FastlaneCore::ConfigItem.new(key: :url,
|
26
26
|
description: "The URL of the repository to import the Fastfile from",
|
27
|
-
|
27
|
+
optional: true),
|
28
28
|
FastlaneCore::ConfigItem.new(key: :branch,
|
29
29
|
description: "The branch or tag to check-out on the repository",
|
30
30
|
default_value: 'HEAD',
|
@@ -39,12 +39,10 @@ module Fastlane
|
|
39
39
|
optional: true),
|
40
40
|
FastlaneCore::ConfigItem.new(key: :version,
|
41
41
|
description: "The version to checkout on the repository. Optimistic match operator or multiple conditions can be used to select the latest version within constraints",
|
42
|
-
|
43
|
-
is_string: false,
|
42
|
+
type: Array,
|
44
43
|
optional: true),
|
45
44
|
FastlaneCore::ConfigItem.new(key: :cache_path,
|
46
|
-
description: "The path to a directory where the repository should be cloned into.
|
47
|
-
default_value: nil,
|
45
|
+
description: "The path to a directory where the repository should be cloned into. Defaults to `nil`, which causes the repository to be cloned on every call, to a temporary directory",
|
48
46
|
optional: true)
|
49
47
|
]
|
50
48
|
end
|
@@ -61,14 +59,14 @@ module Fastlane
|
|
61
59
|
[
|
62
60
|
'import_from_git(
|
63
61
|
url: "git@github.com:fastlane/fastlane.git", # The URL of the repository to import the Fastfile from.
|
64
|
-
branch: "HEAD", # The branch to checkout on the repository
|
65
|
-
path: "fastlane/Fastfile", # The path of the Fastfile in the repository
|
62
|
+
branch: "HEAD", # The branch to checkout on the repository.
|
63
|
+
path: "fastlane/Fastfile", # The path of the Fastfile in the repository.
|
66
64
|
version: "~> 1.0.0" # The version to checkout on the repository. Optimistic match operator can be used to select the latest version within constraints.
|
67
65
|
)',
|
68
66
|
'import_from_git(
|
69
67
|
url: "git@github.com:fastlane/fastlane.git", # The URL of the repository to import the Fastfile from.
|
70
|
-
branch: "HEAD", # The branch to checkout on the repository
|
71
|
-
path: "fastlane/Fastfile", # The path of the Fastfile in the repository
|
68
|
+
branch: "HEAD", # The branch to checkout on the repository.
|
69
|
+
path: "fastlane/Fastfile", # The path of the Fastfile in the repository.
|
72
70
|
version: [">= 1.1.0", "< 2.0.0"], # The version to checkout on the repository. Multiple conditions can be used to select the latest version within constraints.
|
73
71
|
cache_path: "~/.cache/fastlane/imported" # A directory in which the repository will be added, which means that it will not be cloned again on subsequent calls.
|
74
72
|
)'
|
@@ -33,10 +33,11 @@ module Fastlane
|
|
33
33
|
agv_disabled = !system([command_prefix, 'agvtool what-version', command_suffix].join(' '))
|
34
34
|
raise "Apple Generic Versioning is not enabled." if agv_disabled && params[:build_number].nil?
|
35
35
|
|
36
|
+
mode = params[:skip_info_plist] ? '' : ' -all'
|
36
37
|
command = [
|
37
38
|
command_prefix,
|
38
39
|
'agvtool',
|
39
|
-
params[:build_number] ? "new-version
|
40
|
+
params[:build_number] ? "new-version#{mode} #{params[:build_number].to_s.strip}" : "next-version#{mode}",
|
40
41
|
command_suffix
|
41
42
|
].join(' ')
|
42
43
|
|
@@ -65,7 +66,12 @@ module Fastlane
|
|
65
66
|
env_name: "FL_BUILD_NUMBER_BUILD_NUMBER",
|
66
67
|
description: "Change to a specific version. When you provide this parameter, Apple Generic Versioning does not have to be enabled",
|
67
68
|
optional: true,
|
68
|
-
|
69
|
+
skip_type_validation: true), # allow Integer, String
|
70
|
+
FastlaneCore::ConfigItem.new(key: :skip_info_plist,
|
71
|
+
env_name: "FL_BUILD_NUMBER_SKIP_INFO_PLIST",
|
72
|
+
description: "Don't update Info.plist files when updating the build version",
|
73
|
+
type: Boolean,
|
74
|
+
default_value: false),
|
69
75
|
FastlaneCore::ConfigItem.new(key: :xcodeproj,
|
70
76
|
env_name: "FL_BUILD_NUMBER_PROJECT",
|
71
77
|
description: "optional, you must specify the path to your main Xcode project if it is not in the project root directory",
|
@@ -35,26 +35,23 @@ module Fastlane
|
|
35
35
|
short_option: "-X",
|
36
36
|
env_name: "FL_IOD_EXTRA",
|
37
37
|
description: "Extra Commandline arguments passed to ios-deploy",
|
38
|
-
optional: true,
|
39
|
-
is_string: true),
|
38
|
+
optional: true),
|
40
39
|
FastlaneCore::ConfigItem.new(key: :device_id,
|
41
40
|
short_option: "-d",
|
42
41
|
env_name: "FL_IOD_DEVICE_ID",
|
43
42
|
description: "id of the device / if not set defaults to first found device",
|
44
|
-
optional: true,
|
45
|
-
is_string: true),
|
43
|
+
optional: true),
|
46
44
|
FastlaneCore::ConfigItem.new(key: :skip_wifi,
|
47
45
|
short_option: "-w",
|
48
46
|
env_name: "FL_IOD_WIFI",
|
49
47
|
description: "Do not search for devices via WiFi",
|
50
48
|
optional: true,
|
51
|
-
|
49
|
+
type: Boolean),
|
52
50
|
FastlaneCore::ConfigItem.new(key: :ipa,
|
53
51
|
short_option: "-i",
|
54
52
|
env_name: "FL_IOD_IPA",
|
55
53
|
description: "The IPA file to put on the device",
|
56
54
|
optional: true,
|
57
|
-
is_string: true,
|
58
55
|
default_value: Actions.lane_context[SharedValues::IPA_OUTPUT_PATH] || Dir["*.ipa"].first,
|
59
56
|
default_value_dynamic: true,
|
60
57
|
verify_block: proc do |value|
|
@@ -66,35 +66,32 @@ module Fastlane
|
|
66
66
|
def self.available_options
|
67
67
|
[
|
68
68
|
FastlaneCore::ConfigItem.new(key: :api_token,
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
69
|
+
env_name: "INSTALLR_API_TOKEN",
|
70
|
+
sensitive: true,
|
71
|
+
description: "API Token for Installr Access",
|
72
|
+
verify_block: proc do |value|
|
73
|
+
UI.user_error!("No API token for Installr given, pass using `api_token: 'token'`") unless value && !value.empty?
|
74
|
+
end),
|
75
75
|
FastlaneCore::ConfigItem.new(key: :ipa,
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
76
|
+
env_name: "INSTALLR_IPA_PATH",
|
77
|
+
description: "Path to your IPA file. Optional if you use the _gym_ or _xcodebuild_ action",
|
78
|
+
default_value: Actions.lane_context[SharedValues::IPA_OUTPUT_PATH],
|
79
|
+
default_value_dynamic: true,
|
80
|
+
verify_block: proc do |value|
|
81
|
+
UI.user_error!("Couldn't find build file at path '#{value}'") unless File.exist?(value)
|
82
|
+
end),
|
83
83
|
FastlaneCore::ConfigItem.new(key: :notes,
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
optional: true),
|
84
|
+
env_name: "INSTALLR_NOTES",
|
85
|
+
description: "Release notes",
|
86
|
+
optional: true),
|
88
87
|
FastlaneCore::ConfigItem.new(key: :notify,
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
optional: true),
|
88
|
+
env_name: "INSTALLR_NOTIFY",
|
89
|
+
description: "Groups to notify (e.g. 'dev,qa')",
|
90
|
+
optional: true),
|
93
91
|
FastlaneCore::ConfigItem.new(key: :add,
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
optional: true)
|
92
|
+
env_name: "INSTALLR_ADD",
|
93
|
+
description: "Groups to add (e.g. 'exec,ops')",
|
94
|
+
optional: true)
|
98
95
|
]
|
99
96
|
end
|
100
97
|
|
@@ -159,12 +159,12 @@ module Fastlane
|
|
159
159
|
env_name: "IPA_CLEAN",
|
160
160
|
description: "Clean project before building",
|
161
161
|
optional: true,
|
162
|
-
|
162
|
+
type: Boolean),
|
163
163
|
FastlaneCore::ConfigItem.new(key: :archive,
|
164
164
|
env_name: "IPA_ARCHIVE",
|
165
165
|
description: "Archive project after building",
|
166
166
|
optional: true,
|
167
|
-
|
167
|
+
type: Boolean),
|
168
168
|
FastlaneCore::ConfigItem.new(key: :destination,
|
169
169
|
env_name: "IPA_DESTINATION",
|
170
170
|
description: "Build destination. Defaults to current directory",
|
@@ -5,6 +5,7 @@ module Fastlane
|
|
5
5
|
Actions.verify_gem!('jazzy')
|
6
6
|
command = "jazzy"
|
7
7
|
command << " --config #{params[:config]}" if params[:config]
|
8
|
+
command << " --module-version #{params[:module_version]}" if params[:module_version]
|
8
9
|
Actions.sh(command)
|
9
10
|
end
|
10
11
|
|
@@ -18,13 +19,14 @@ module Fastlane
|
|
18
19
|
|
19
20
|
def self.available_options
|
20
21
|
[
|
21
|
-
FastlaneCore::ConfigItem.new(
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
22
|
+
FastlaneCore::ConfigItem.new(key: :config,
|
23
|
+
env_name: 'FL_JAZZY_CONFIG',
|
24
|
+
description: 'Path to jazzy config file',
|
25
|
+
optional: true),
|
26
|
+
FastlaneCore::ConfigItem.new(key: :module_version,
|
27
|
+
env_name: 'FL_JAZZY_MODULE_VERSION',
|
28
|
+
description: 'Version string to use as part of the the default docs title and inside the docset',
|
29
|
+
optional: true)
|
28
30
|
]
|
29
31
|
end
|
30
32
|
|
@@ -44,7 +46,8 @@ module Fastlane
|
|
44
46
|
|
45
47
|
def self.example_code
|
46
48
|
[
|
47
|
-
'jazzy'
|
49
|
+
'jazzy',
|
50
|
+
'jazzy(config: ".jazzy.yaml", module_version: "2.1.37")'
|
48
51
|
]
|
49
52
|
end
|
50
53
|
|
@@ -1,5 +1,9 @@
|
|
1
1
|
module Fastlane
|
2
2
|
module Actions
|
3
|
+
module SharedValues
|
4
|
+
JIRA_JSON = :JIRA_JSON
|
5
|
+
end
|
6
|
+
|
3
7
|
class JiraAction < Action
|
4
8
|
def self.run(params)
|
5
9
|
Actions.verify_gem!('jira-ruby')
|
@@ -21,10 +25,28 @@ module Fastlane
|
|
21
25
|
password: password
|
22
26
|
}
|
23
27
|
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
+
begin
|
29
|
+
client = JIRA::Client.new(options)
|
30
|
+
issue = client.Issue.find(ticket_id)
|
31
|
+
comment = issue.comments.build
|
32
|
+
comment.save({ 'body' => comment_text })
|
33
|
+
|
34
|
+
# An exact representation of the JSON returned from the JIRA API
|
35
|
+
# https://github.com/sumoheavy/jira-ruby/blob/master/lib/jira/base.rb#L67
|
36
|
+
json_response = comment.attrs
|
37
|
+
raise 'Failed to add a comment on Jira ticket' if json_response.nil?
|
38
|
+
|
39
|
+
Actions.lane_context[SharedValues::JIRA_JSON] = json_response
|
40
|
+
UI.success('Successfully added a comment on Jira ticket')
|
41
|
+
return json_response
|
42
|
+
rescue => exception
|
43
|
+
message = "Received exception when adding a Jira comment: #{exception}"
|
44
|
+
if params[:fail_on_error]
|
45
|
+
UI.user_error!(message)
|
46
|
+
else
|
47
|
+
UI.error(message)
|
48
|
+
end
|
49
|
+
end
|
28
50
|
end
|
29
51
|
|
30
52
|
#####################################################
|
@@ -32,7 +54,7 @@ module Fastlane
|
|
32
54
|
#####################################################
|
33
55
|
|
34
56
|
def self.description
|
35
|
-
"Leave a comment on
|
57
|
+
"Leave a comment on a Jira ticket"
|
36
58
|
end
|
37
59
|
|
38
60
|
def self.available_options
|
@@ -50,13 +72,13 @@ module Fastlane
|
|
50
72
|
default_value: ""),
|
51
73
|
FastlaneCore::ConfigItem.new(key: :username,
|
52
74
|
env_name: "FL_JIRA_USERNAME",
|
53
|
-
description: "Username for
|
75
|
+
description: "Username for Jira instance",
|
54
76
|
verify_block: proc do |value|
|
55
77
|
UI.user_error!("No username") if value.to_s.length == 0
|
56
78
|
end),
|
57
79
|
FastlaneCore::ConfigItem.new(key: :password,
|
58
80
|
env_name: "FL_JIRA_PASSWORD",
|
59
|
-
description: "Password for Jira",
|
81
|
+
description: "Password or API token for Jira",
|
60
82
|
sensitive: true,
|
61
83
|
verify_block: proc do |value|
|
62
84
|
UI.user_error!("No password") if value.to_s.length == 0
|
@@ -72,15 +94,35 @@ module Fastlane
|
|
72
94
|
description: "Text to add to the ticket as a comment",
|
73
95
|
verify_block: proc do |value|
|
74
96
|
UI.user_error!("No comment specified") if value.to_s.length == 0
|
75
|
-
end)
|
97
|
+
end),
|
98
|
+
FastlaneCore::ConfigItem.new(key: :fail_on_error,
|
99
|
+
env_name: "FL_JIRA_FAIL_ON_ERROR",
|
100
|
+
description: "Should an error adding the Jira comment cause a failure?",
|
101
|
+
type: Boolean,
|
102
|
+
optional: true,
|
103
|
+
default_value: true) # Default value is true for 'Backward compatibility'
|
104
|
+
]
|
105
|
+
end
|
106
|
+
|
107
|
+
def self.output
|
108
|
+
[
|
109
|
+
['JIRA_JSON', 'The whole Jira API JSON object']
|
76
110
|
]
|
77
111
|
end
|
78
112
|
|
79
113
|
def self.return_value
|
114
|
+
[
|
115
|
+
"A hash containing all relevant information of the Jira comment",
|
116
|
+
"Access Jira comment 'id', 'author', 'body', and more"
|
117
|
+
].join("\n")
|
118
|
+
end
|
119
|
+
|
120
|
+
def self.return_type
|
121
|
+
:hash
|
80
122
|
end
|
81
123
|
|
82
124
|
def self.authors
|
83
|
-
["iAmChrisTruman"]
|
125
|
+
["iAmChrisTruman", "crazymanish"]
|
84
126
|
end
|
85
127
|
|
86
128
|
def self.is_supported?(platform)
|
@@ -92,17 +134,22 @@ module Fastlane
|
|
92
134
|
'jira(
|
93
135
|
url: "https://bugs.yourdomain.com",
|
94
136
|
username: "Your username",
|
95
|
-
password: "Your password",
|
96
|
-
ticket_id: "
|
137
|
+
password: "Your password or API token",
|
138
|
+
ticket_id: "IOS-123",
|
97
139
|
comment_text: "Text to post as a comment"
|
98
|
-
)',
|
140
|
+
)', # How to get API token: https://developer.atlassian.com/cloud/jira/platform/basic-auth-for-rest-apis/#get-an-api-token
|
99
141
|
'jira(
|
100
142
|
url: "https://yourserverdomain.com",
|
101
143
|
context_path: "/jira",
|
102
144
|
username: "Your username",
|
103
|
-
password: "Your password",
|
104
|
-
ticket_id: "
|
145
|
+
password: "Your password or API token",
|
146
|
+
ticket_id: "IOS-123",
|
105
147
|
comment_text: "Text to post as a comment"
|
148
|
+
)',
|
149
|
+
'jira(
|
150
|
+
ticket_id: "IOS-123",
|
151
|
+
comment_text: "Text to post as a comment",
|
152
|
+
fail_on_error: false
|
106
153
|
)'
|
107
154
|
]
|
108
155
|
end
|
@@ -38,7 +38,7 @@ module Fastlane
|
|
38
38
|
|
39
39
|
[
|
40
40
|
FastlaneCore::ConfigItem.new(key: :api_key_path,
|
41
|
-
|
41
|
+
env_names: ["APPSTORE_BUILD_NUMBER_API_KEY_PATH", "APP_STORE_CONNECT_API_KEY_PATH"],
|
42
42
|
description: "Path to your App Store Connect API Key JSON file (https://docs.fastlane.tools/app-store-connect-api/#using-fastlane-api-key-json-file)",
|
43
43
|
optional: true,
|
44
44
|
conflicting_options: [:api_key],
|
@@ -46,7 +46,7 @@ module Fastlane
|
|
46
46
|
UI.user_error!("Couldn't find API key JSON file at path '#{value}'") unless File.exist?(value)
|
47
47
|
end),
|
48
48
|
FastlaneCore::ConfigItem.new(key: :api_key,
|
49
|
-
|
49
|
+
env_names: ["APPSTORE_BUILD_NUMBER_API_KEY", "APP_STORE_CONNECT_API_KEY"],
|
50
50
|
description: "Your App Store Connect API Key information (https://docs.fastlane.tools/app-store-connect-api/#use-return-value-and-pass-in-as-an-option)",
|
51
51
|
type: Hash,
|
52
52
|
optional: true,
|
@@ -57,7 +57,7 @@ module Fastlane
|
|
57
57
|
env_name: "CURRENT_BUILD_NUMBER_LIVE",
|
58
58
|
description: "Query the live version (ready-for-sale)",
|
59
59
|
optional: true,
|
60
|
-
|
60
|
+
type: Boolean,
|
61
61
|
default_value: false),
|
62
62
|
FastlaneCore::ConfigItem.new(key: :app_identifier,
|
63
63
|
short_option: "-a",
|
@@ -70,6 +70,7 @@ module Fastlane
|
|
70
70
|
short_option: "-u",
|
71
71
|
env_name: "ITUNESCONNECT_USER",
|
72
72
|
description: "Your Apple ID Username",
|
73
|
+
optional: true,
|
73
74
|
default_value: user,
|
74
75
|
default_value_dynamic: true),
|
75
76
|
FastlaneCore::ConfigItem.new(key: :version,
|
@@ -81,7 +82,6 @@ module Fastlane
|
|
81
82
|
env_name: "APPSTORE_PLATFORM",
|
82
83
|
description: "The platform to use (optional)",
|
83
84
|
optional: true,
|
84
|
-
is_string: true,
|
85
85
|
default_value: "ios",
|
86
86
|
verify_block: proc do |value|
|
87
87
|
UI.user_error!("The platform can only be ios, osx, or appletvos") unless %('osx', ios', 'appletvos').include?(value)
|
@@ -90,13 +90,13 @@ module Fastlane
|
|
90
90
|
env_name: "INITIAL_BUILD_NUMBER",
|
91
91
|
description: "sets the build number to given value if no build is in current train",
|
92
92
|
default_value: 1,
|
93
|
-
|
93
|
+
skip_type_validation: true), # allow Integer, String
|
94
94
|
FastlaneCore::ConfigItem.new(key: :team_id,
|
95
95
|
short_option: "-k",
|
96
96
|
env_name: "LATEST_TESTFLIGHT_BUILD_NUMBER_TEAM_ID",
|
97
97
|
description: "The ID of your App Store Connect team if you're in multiple teams",
|
98
98
|
optional: true,
|
99
|
-
|
99
|
+
skip_type_validation: true, # allow Integer, String
|
100
100
|
code_gen_sensitive: true,
|
101
101
|
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_id),
|
102
102
|
default_value_dynamic: true),
|
@@ -22,21 +22,17 @@ module Fastlane
|
|
22
22
|
FastlaneCore::ConfigItem.new(key: :project_name,
|
23
23
|
env_name: "FL_LCOV_PROJECT_NAME",
|
24
24
|
description: "Name of the project"),
|
25
|
-
|
26
25
|
FastlaneCore::ConfigItem.new(key: :scheme,
|
27
26
|
env_name: "FL_LCOV_SCHEME",
|
28
27
|
description: "Scheme of the project"),
|
29
|
-
|
30
28
|
FastlaneCore::ConfigItem.new(key: :arch,
|
31
29
|
env_name: "FL_LCOV_ARCH",
|
32
30
|
description: "The build arch where will search .gcda files",
|
33
31
|
default_value: "i386"),
|
34
|
-
|
35
32
|
FastlaneCore::ConfigItem.new(key: :output_dir,
|
36
33
|
env_name: "FL_LCOV_OUTPUT_DIR",
|
37
34
|
description: "The output directory that coverage data will be stored. If not passed will use coverage_reports as default value",
|
38
35
|
optional: true,
|
39
|
-
is_string: true,
|
40
36
|
default_value: "coverage_reports")
|
41
37
|
]
|
42
38
|
end
|