Adjust path to be created dynamically
This commit is contained in:
parent
19140d2c26
commit
31809449eb
1 changed files with 2 additions and 1 deletions
|
|
@ -81,8 +81,9 @@ platform :android do
|
||||||
# ref https://github.com/fastlane/fastlane/issues/21064
|
# ref https://github.com/fastlane/fastlane/issues/21064
|
||||||
output_path = options[:output_path] || './native_debug_symbols.zip'
|
output_path = options[:output_path] || './native_debug_symbols.zip'
|
||||||
build_type_and_flavour = options[:build_type_and_flavour] || 'release'
|
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)
|
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} .")
|
system("cd #{symbolsFolderPath} && zip -r #{symbolsFilePath} .")
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue