diff --git a/.github/workflows/internal-build.yml b/.github/workflows/internal-build.yml index 673e688ff1..787e27ace6 100644 --- a/.github/workflows/internal-build.yml +++ b/.github/workflows/internal-build.yml @@ -132,6 +132,7 @@ jobs: ALLOW_ENV_EDIT: ${{ inputs.allow_env_edit }} TESTFLIGHT_INTERNAL_TESTERS_GROUP: ${{ inputs.internal-testers }} SERVICE_LOCATION: '.' + APP_FLAVOR: ${{ inputs.injiFlavor }} IOS_SERVICE_LOCATION: 'ios' SCRIPT_NAME: "fastlane beta" IOS_ARTIFACT_NAME: "Inji Wallet" diff --git a/ios/fastlane/Fastfile b/ios/fastlane/Fastfile index a7be131dc5..5891864b55 100644 --- a/ios/fastlane/Fastfile +++ b/ios/fastlane/Fastfile @@ -13,7 +13,7 @@ PROVISIONING_PROFILE_SPECIFIER = ENV["INJI_IOS_PROVISIONING_PROFILE_SPECIFIER"] TEMP_KEYCHAIN_USER = ENV["INJI_IOS_TEMP_KEYCHAIN_USER"] TEMP_KEYCHAIN_PASSWORD = ENV["INJI_IOS_TEMP_KEYCHAIN_PASSWORD"] GIT_AUTHORIZATION = ENV["GIT_AUTHORIZATION"] -SLACK_URL = ENV["SLACK_URL"] +SLACK_URL = ENV["SLACK_WEBHOOK_URL"] MATCH_PASSWORD = ENV["MATCH_PASSWORD"] FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT = "120" TESTFLIGHT_INTERNAL_TESTERS_GROUP = ENV["TESTFLIGHT_INTERNAL_TESTERS_GROUP"] @@ -99,7 +99,7 @@ platform :ios do version = get_version_number(xcodeproj: "Inji.xcodeproj") previous_build_number = latest_testflight_build_number( - app_identifier: "#{DEVELOPER_APP_IDENTIFIER}", + app_identifier: "#{generate_app_bundle_id}", api_key: api_key, version: version ) @@ -113,7 +113,7 @@ platform :ios do match( type: 'appstore', - app_identifier: "#{DEVELOPER_APP_IDENTIFIER}", + app_identifier: "#{generate_app_bundle_id}", git_basic_authorization: Base64.strict_encode64("#{GIT_AUTHORIZATION}"), readonly: false, keychain_name: keychain_name, @@ -137,7 +137,7 @@ platform :ios do ) pilot( - app_identifier: "#{DEVELOPER_APP_IDENTIFIER}", + app_identifier: "#{generate_app_bundle_id}", api_key: api_key, ipa: "./Inji.ipa", changelog: "#{TESTFLIGHT_BETA_APP_DESCRIPTION}", @@ -155,7 +155,7 @@ platform :ios do delete_temp_keychain(keychain_name) slack( - message: "Inji - #{version} (#{current_build_number}) is uploaded to testflight.", + message: "#{generate_app_name} #{version} (#{current_build_number}) is uploaded to testflight.", success: true, slack_url: "#{SLACK_URL}", default_payloads: [:git_branch, :last_git_commit] @@ -178,7 +178,7 @@ platform :ios do match( type: 'appstore', - app_identifier: "#{DEVELOPER_APP_IDENTIFIER}", + app_identifier: "#{generate_app_bundle_id}", git_basic_authorization: Base64.strict_encode64("#{GIT_AUTHORIZATION}"), readonly: false, keychain_name: keychain_name,