status-react/fastlane/Fastfile

51 lines
1.3 KiB
Ruby

# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
# https://docs.fastlane.tools/actions
#
# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane
platform :ios do
desc "Deploy a new internal build to iTunes Connect"
lane :nightly do
upload_to_testflight(
ipa: "status_appstore/StatusIm.ipa"
)
slack(message: "New nightly build uploaded to iTunes Connect")
end
lane :release do
upload_to_testflight(
ipa: "status_appstore/StatusIm.ipa"
)
slack(message: "New release build uploaded to iTunes Connect")
end
desc "Remove inactive TestFlight users"
lane :clean do
clean_testflight_testers
end
end
platform :android do
desc "Deploy a new internal build to Google Play"
lane :nightly do
upload_to_play_store(
track: "internal",
apk: "android/app/build/outputs/apk/release/app-release.apk"
)
slack(message: "New nightly build uploaded to Google Play")
end
lane :release do
upload_to_play_store(
track: "alpha",
apk: "android/app/build/outputs/apk/release/app-release.apk"
)
slack(message: "New release build uploaded to Google Play")
end
end