bin/nixenvironment in nixenvironment-0.0.92 vs bin/nixenvironment in nixenvironment-0.0.93
- old
+ new
@@ -43,10 +43,11 @@
global_option ('--deploy_host VALUE') { |value| $deploy_host = value }
global_option ('--deploy_path VALUE') { |value| $deploy_path = value }
global_option ('--deploy_username VALUE') { |value| $deploy_username = value }
global_option ('--deploy_password VALUE') { |value| $deploy_password = value }
global_option ('--deploy_itunesconnect_username VALUE') { |value| $deploy_itunesconnect_username = value }
+global_option ('--deploy_team_name VALUE') { |value| $deploy_team_name = value }
global_option ('--icons_path VALUE') { |value| $icons_path = value }
global_option ('--xctest_destination_device VALUE') { |value| $xctest_destination_device = value }
global_option ('--configuration_files_path VALUE') { |value| $configuration_files_path = value }
global_option ('--code_coverage_configuration VALUE') { |value| $code_coverage_configuration = value }
global_option ('--code_coverage_output_directory VALUE') { |value| $code_coverage_output_directory = value }
@@ -437,10 +438,11 @@
update_config_settings(DEPLOY_HOST_KEY, $deploy_host, table, true)
update_config_settings(DEPLOY_PATH_KEY, $deploy_path, table, true)
update_config_settings(DEPLOY_USERNAME_KEY, $deploy_username, table, true)
update_config_settings(DEPLOY_PASSWORD_KEY, $deploy_password, table, true)
update_config_settings(DEPLOY_ITUNESCONNECT_USERNAME_KEY, $deploy_itunesconnect_username, table, true)
+ update_config_settings(DEPLOY_TEAM_NAME_KEY, $deploy_team_name, table, true)
update_config_settings(ICONS_PATH_KEY, $icons_path, table, true)
update_config_settings(XCTEST_DESTINATION_DEVICE_KEY, $xctest_destination_device, table, true)
update_config_settings(CONFIGURATION_FILES_PATH_KEY, $configuration_files_path, table, true)
update_config_settings(CODE_COVERAGE_CONFIGURATION_KEY, $code_coverage_configuration, table, true)
update_config_settings(CODE_COVERAGE_OUTPUT_DIRECTORY_KEY, $code_coverage_output_directory, table, true)
@@ -708,15 +710,16 @@
def deploy(deliver_deploy, deployment_names)
deploy_host = @config_settings[DEPLOY_HOST_KEY].blank? ? ENV[DEPLOY_HOST_KEY] : @config_settings[DEPLOY_HOST_KEY]
deploy_username = @config_settings[DEPLOY_USERNAME_KEY].blank? ? ENV[DEPLOY_USERNAME_KEY] : @config_settings[DEPLOY_USERNAME_KEY]
deploy_password = @config_settings[DEPLOY_PASSWORD_KEY].blank? ? ENV[DEPLOY_PASSWORD_KEY] : @config_settings[DEPLOY_PASSWORD_KEY]
deploy_itunesconnect_username = @config_settings[DEPLOY_ITUNESCONNECT_USERNAME_KEY].blank? ? ENV[DEPLOY_ITUNESCONNECT_USERNAME_KEY] : @config_settings[DEPLOY_ITUNESCONNECT_USERNAME_KEY]
+ deploy_team_name = @config_settings[DEPLOY_TEAM_NAME_KEY].blank? ? ENV[DEPLOY_TEAM_NAME_KEY] : @config_settings[DEPLOY_TEAM_NAME_KEY]
sdk_name = BuildEnvVarsLoader.load_last_build_vars[SDK_NAME_KEY]
deploy_path = sdk_name.include?('macos') ? MACOS_PROJECTS_DEPLOY_PATH : ENV[DEPLOY_PATH_KEY]
deploy_path = @config_settings[DEPLOY_PATH_KEY] if @config_settings[DEPLOY_PATH_KEY].present?
- Deployer.deploy(deploy_host, deploy_path, deploy_username, deploy_password, deploy_itunesconnect_username, deliver_deploy, deployment_names)
+ Deployer.deploy(deploy_host, deploy_path, deploy_username, deploy_password, deploy_itunesconnect_username, deploy_team_name, deliver_deploy, deployment_names)
success('Deploy complete!')
end
def clean
\ No newline at end of file