Adjust path to be created dynamically

This commit is contained in:
Gergely Hegedus 2025-05-01 17:28:33 +03:00
parent 19140d2c26
commit 31809449eb

View file

@ -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