Skip to content

Commit

Permalink
Set up CI/CD for android
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-sneha-s committed Apr 4, 2024
1 parent 7bfb15c commit 7170d4c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions khelo/android/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@ platform :android do

versionName = options[:versionName]
versionCode = options[:versionCode]
Dir.chdir "../.." do
sh("flutter", "build", "appbundle", "--release", "--build-number=#{versionCode}" ,"--build-name=#{versionName}") end
end

upload_to_play_store(
track: 'internal',
skip_upload_metadata: true,
skip_upload_images: true,
skip_upload_apk: true,
aab: '../build/app/outputs/bundle/release/app-release.aab',
skip_upload_screenshots: true)
Dir.chdir "../.." do
sh("flutter", "build", "appbundle", "--release", "--build-number=#{versionCode}" ,"--build-name=#{versionName}")
end

upload_to_play_store(
track: 'internal',
skip_upload_metadata: true,
skip_upload_images: true,
skip_upload_apk: true,
aab: '../build/app/outputs/bundle/release/app-release.aab',
skip_upload_screenshots: true)
end
end

0 comments on commit 7170d4c

Please sign in to comment.