From f05cdfba4f2b06cf98246db6b0dce54212bdf0b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malo=20L=C3=A9on?= Date: Wed, 25 Oct 2023 16:54:54 +0200 Subject: [PATCH] feat: remove incremented feature from iOS script (#33) --- .../ios_cd/actions/build_and_deploy_action.rb | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/plugins/fastlane-plugin-ios_cd/lib/fastlane/plugin/ios_cd/actions/build_and_deploy_action.rb b/plugins/fastlane-plugin-ios_cd/lib/fastlane/plugin/ios_cd/actions/build_and_deploy_action.rb index 7b5a44a..57adbeb 100644 --- a/plugins/fastlane-plugin-ios_cd/lib/fastlane/plugin/ios_cd/actions/build_and_deploy_action.rb +++ b/plugins/fastlane-plugin-ios_cd/lib/fastlane/plugin/ios_cd/actions/build_and_deploy_action.rb @@ -61,23 +61,6 @@ module Fastlane ) UI.message("🍺 API Key formated") - last_testflight_build_number = - other_action.latest_testflight_build_number( - api_key: api_key, - team_id: creds['team_id'].to_s, - team_name: creds['team_name'].to_s, - platform: 'ios', - app_identifier: creds['developer_app_identifier'].to_s, - username: creds['username'].to_s - ) + 1 - - # Increment build number for latest TestFlight build - other_action.increment_build_number( - build_number: last_testflight_build_number, - xcodeproj: "Runner.xcodeproj" - ) - UI.message("🍺 Build number incremented") - # Install Cocoapods other_action.cocoapods( clean_install: true,