From 21d34bf7e28dc6ba22c28a79af6f901eaa904df6 Mon Sep 17 00:00:00 2001 From: Andrei Ashikhmin Date: Sat, 26 Aug 2023 11:33:32 +0700 Subject: [PATCH] fix: fetch current version_code for metadata --- fastlane/Fastfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 67844d721c..64061efc1a 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -43,10 +43,14 @@ platform :android do rollout='0.2' end + versions = google_play_track_version_codes(track: "internal") + version_code = versions[0] + supply( track: 'internal', track_promote_to: "production", - rollout: rollout + rollout: rollout, + version_code: version_code ) end