Skip to content

Commit

Permalink
Fix android fastfile
Browse files Browse the repository at this point in the history
  • Loading branch information
veloce committed Dec 13, 2024
1 parent 581bed4 commit 534add9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions android/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ platform :android do
end
end

platform :android do
desc "Upload a production version to Google Play"
lane :production do
deploy_to_play_store('production')
end
end

def deploy_to_play_store(track)
sh "flutter build appbundle -v --obfuscate --split-debug-info=./build/app/outputs/bundle/release/symbols --dart-define=cronetHttpNoPlay=true --dart-define=LICHESS_HOST=lichess.org --dart-define=LICHESS_WS_HOST=socket.lichess.org --dart-define=LICHESS_WS_SECRET=#{ENV['WS_SECRET']}"
upload_to_play_store(
Expand Down

0 comments on commit 534add9

Please sign in to comment.