We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 883f933 commit 096cc12Copy full SHA for 096cc12
apps/app/android/fastlane/Fastfile
@@ -38,11 +38,15 @@ end
38
private_lane :populate_metadata do
39
metadata_path = "metadata"
40
41
+ metadata_full_path = File.expand_path(metadata_path, Dir.pwd)
42
+
43
unless File.exist?(metadata_path)
- UI.message("Running 'fastlane supply init' to initialize supply metadata...")
44
+ UI.message("Running 'fastlane supply init' from android folder...")
45
- # Run supply init in the correct context
- sh("fastlane supply init --metadata_path #{metadata_path}")
46
+ # Change directory to android and run init there
47
+ Dir.chdir("android") do
48
+ sh("fastlane supply init --metadata_path #{metadata_path}")
49
+ end
50
else
51
UI.message("✅ Supply metadata already initialized.")
52
end
0 commit comments