Last active
August 8, 2019 03:53
-
-
Save masashi-sutou/5d9649d64271db5f247a48d111ad39c4 to your computer and use it in GitHub Desktop.
Flutter Android をDeployGateに配信する最小手順のFastfileです
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default_platform(:android) | |
platform :android do | |
before_all do |lane, options| | |
ENV["DEPLOYGATE_API_TOKEN"] = '自分のアカウントから発行できるAPIトークンを指定' | |
end | |
desc "Submit a new Beta Build to Crashlytics Beta" | |
lane :beta do | |
sh('cd ../../ && flutter build apk --release') | |
# gradle(task: "clean assembleDebug") | |
deploygate( | |
api_token: ENV["DEPLOYGATE_API_TOKEN"], | |
user: '自分のアカウントのユーザー名を指定する', | |
message: "試しにfastlaneであげる", | |
apk: "../build/app/outputs/apk/release/app-release.apk", | |
) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment