From 31809449eb10c491a9672745b5b6ff1bc1435ea4 Mon Sep 17 00:00:00 2001 From: Gergely Hegedus Date: Thu, 1 May 2025 17:28:33 +0300 Subject: [PATCH] Adjust path to be created dynamically --- fastlane/Fastfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index b37b85a..18c7fa3 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -81,8 +81,9 @@ platform :android do # ref https://github.com/fastlane/fastlane/issues/21064 output_path = options[:output_path] || './native_debug_symbols.zip' build_type_and_flavour = options[:build_type_and_flavour] || 'release' + nativeLibsFolder = "merge" + build_type_and_flavour.capitalize + "NativeLibs" symbolsFilePath = File.join(Dir.pwd, "..", output_path) - symbolsFolderPath = File.join(Dir.pwd, "..", "app/build/intermediates/merged_native_libs",build_type_and_flavour,"mergeReleaseNativeLibs/out/lib") + symbolsFolderPath = File.join(Dir.pwd, "..", "app/build/intermediates/merged_native_libs",build_type_and_flavour,nativeLibsFolder,"out/lib") system("cd #{symbolsFolderPath} && zip -r #{symbolsFilePath} .") end