Fastlane: Enable building the apk again

The newest flutter beta fixes --build-number flag, so I can use this
again.
This commit is contained in:
Vishesh Handa
2019-02-02 12:16:29 +01:00
parent 4509c90bbf
commit c0a1c139fa

View File

@ -6,9 +6,9 @@ platform :android do
# Return the number of commits in current git branch
build_number = number_of_commits()
Dir.chdir "../../" do
#sh("flutter", "packages", "get")
#sh("flutter", "clean")
#sh("flutter", "build", "apk", "--build-number=#{build_number}")
sh("flutter", "packages", "get")
sh("flutter", "clean")
sh("flutter", "build", "apk", "--build-number=#{build_number}")
end
upload_to_play_store(track: "beta",