From 30fe3be6c8955320eb2076d0990b628b8e5299cb Mon Sep 17 00:00:00 2001 From: Panagiotis Giannoutsos <36935711+Panosfunk@users.noreply.github.com> Date: Mon, 2 Sep 2024 19:24:35 +0200 Subject: [PATCH] printing pwd --- android/fastlane/Fastfile | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/android/fastlane/Fastfile b/android/fastlane/Fastfile index 2a47373d..d2836c94 100644 --- a/android/fastlane/Fastfile +++ b/android/fastlane/Fastfile @@ -41,24 +41,24 @@ platform :android do sh "flutter pub upgrade" sh "pwd" - pubspec_content = YAML.load_file('../pubspec.yaml') - # current_version_code = google_play_track_version_codes(track: 'internal') - version_string = pubspec_content['version'] - version_parts = version_string.split('+') - if version_parts.size == 2 - version_number = version_parts[1].to_i - new_version_number = version_number + 1 - pubspec_content['version'] = "#{version_parts[0]}+#{new_version_number}" - else - UI.user_error!("Version string format is incorrect") - end - File.open(pubspec_path, 'w') { |f| f.write(pubspec_content.to_yaml) } + # pubspec_content = YAML.load_file('../pubspec.yaml') + # # current_version_code = google_play_track_version_codes(track: 'internal') + # version_string = pubspec_content['version'] + # version_parts = version_string.split('+') + # if version_parts.size == 2 + # version_number = version_parts[1].to_i + # new_version_number = version_number + 1 + # pubspec_content['version'] = "#{version_parts[0]}+#{new_version_number}" + # else + # UI.user_error!("Version string format is incorrect") + # end + # File.open(pubspec_path, 'w') { |f| f.write(pubspec_content.to_yaml) } - sh "flutter build appbundle --release --no-deferred-components --no-tree-shake-icons" - upload_to_play_store( - track: 'internal', - track_promote_to: 'closed', - aab: '../build/app/outputs/bundle/release/app-release.aab', - ) + # sh "flutter build appbundle --release --no-deferred-components --no-tree-shake-icons" + # upload_to_play_store( + # track: 'internal', + # track_promote_to: 'closed', + # aab: '../build/app/outputs/bundle/release/app-release.aab', + # ) end end \ No newline at end of file